A test for the case fixed in 291741754b
When Java binaries refer to Kotlin binaries, and then some Kotlin source refers to the same Kotlin binary class, we should load this class consistently
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
trait K1 : J {
|
||||
override fun foo(k: K?)
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
public /*synthesized*/ fun J(/*0*/ function: (test.K?) -> kotlin.Unit): test.J
|
||||
|
||||
public trait J : java.lang.Object {
|
||||
public abstract fun foo(/*0*/ p0: test.K?): kotlin.Unit
|
||||
}
|
||||
|
||||
internal trait K {
|
||||
}
|
||||
|
||||
internal trait K1 : test.J {
|
||||
public abstract override /*1*/ fun foo(/*0*/ k: test.K?): kotlin.Unit
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test;
|
||||
|
||||
public interface J {
|
||||
void foo(K k);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
trait K
|
||||
Reference in New Issue
Block a user