Multiple errors of the same kind fixed

This commit is contained in:
Andrey Breslav
2011-09-27 12:35:03 +04:00
parent afad00fac5
commit cc68fcabc6
2 changed files with 6 additions and 2 deletions
@@ -2,7 +2,11 @@ open class Var() {
open var v : Int = 1
}
class Val() : Var() {
trait VarT {
var v : Int
}
class Val() : Var(), VarT {
override <!VAR_OVERRIDDEN_BY_VAL!>val<!> v : Int = 1
}