More override control.

Renderers in errors.
Constructor parameters are not properties unless otherwise specified
This commit is contained in:
Andrey Breslav
2011-09-26 19:39:27 +04:00
parent 7880ba1e3f
commit 292fe08b9d
31 changed files with 357 additions and 143 deletions
@@ -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