More override control.
Renderers in errors. Constructor parameters are not properties unless otherwise specified
This commit is contained in:
@@ -5,7 +5,7 @@ trait Y {
|
||||
abstract val y : Int
|
||||
}
|
||||
|
||||
class YImpl(val y : Int) : Y {}
|
||||
class YImpl(override val y : Int) : Y {}
|
||||
|
||||
class Point(x : Int, yy : Int) : X(x) , Y {
|
||||
override val y : Int = yy
|
||||
|
||||
Reference in New Issue
Block a user