Test that lazy resolve is able to do propagation in Kotlin-Java-Kotlin hierarchy
Patch by Evgeny Gerashchenko
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user