Added 'override' checks

This commit is contained in:
svtk
2011-09-09 11:51:10 +04:00
parent 2c3076d1c2
commit c798503c81
9 changed files with 72 additions and 63 deletions
@@ -4,13 +4,13 @@ fun box() {
}
open class A {
fun foo() {}
virtual fun foo() {}
}
open class B : A {
fun foo() {}
override fun foo() {}
}
open class C : B {
fun foo() {}
override fun foo() {}
}