mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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,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
|
||||
}
|
||||
Reference in New Issue
Block a user