Overrides do not collide in resolution any more

This commit is contained in:
Andrey Breslav
2011-09-05 19:08:07 +04:00
parent 6aa2b37d15
commit 9223875977
2 changed files with 27 additions and 1 deletions
@@ -0,0 +1,16 @@
fun box() {
val a : C
a.foo()
}
open class A {
fun foo()
}
open class B : A {
fun foo()
}
open class C : B {
fun foo()
}