https://kotlinlang.org logo
i

Ian

12/10/2016, 3:13 AM
The first error doesn’t make sense because it is a sealed class and the when expression has conditions for every subclass. I’ve no idea what the second two errors are about (the code on line 11 is
val x get() = pointWithSecants.point.x
and the code on line 12 is very similar)