[Tests] Check Java interop
This commit is contained in:
committed by
TeamCityServer
parent
f9e6365461
commit
bafd084094
+7
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
class JavaClass {
|
||||
public static void test(C1 c1, C2 c2, R r, P1 p1, P2 p2) {
|
||||
SignatureKt.f(c1, c2, r, p1, p2);
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
|
||||
package test
|
||||
|
||||
interface C1
|
||||
interface C2
|
||||
interface R
|
||||
interface P1
|
||||
interface P2
|
||||
|
||||
context(C1, C2)
|
||||
fun R.f(p1: P1, p2: P2) {}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
public fun test.R.f(/*0*/ test.P1, /*1*/ test.P2): kotlin.Unit
|
||||
|
||||
public interface C1 {
|
||||
}
|
||||
|
||||
public interface C2 {
|
||||
}
|
||||
|
||||
public/*package*/ open class JavaClass {
|
||||
public/*package*/ constructor JavaClass()
|
||||
|
||||
// Static members
|
||||
public open fun test(/*0*/ test.C1!, /*1*/ test.C2!, /*2*/ test.R!, /*3*/ test.P1!, /*4*/ test.P2!): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface P1 {
|
||||
}
|
||||
|
||||
public interface P2 {
|
||||
}
|
||||
|
||||
public interface R {
|
||||
}
|
||||
Reference in New Issue
Block a user