Test that lazy resolve is able to do propagation in Kotlin-Java-Kotlin hierarchy

Patch by Evgeny Gerashchenko
This commit is contained in:
Nikolay Krasko
2014-02-03 21:32:19 +04:00
parent f14ff9405d
commit 7e4bb1d467
5 changed files with 30 additions and 1 deletions
@@ -0,0 +1,7 @@
package foo;
public class Bar implements Foo {
public Object f() {
throw new UnsupportedOperationException();
}
}
@@ -0,0 +1,5 @@
package foo
public trait Foo {
fun f(): Any
}
@@ -0,0 +1,5 @@
package foo
class Impl : Bar() {
<caret>
}
@@ -0,0 +1,8 @@
package foo
class Impl : Bar() {
override fun f(): Any {
return super<Bar>.f()
}
}