jvm-abi-gen: Add tests for uses of private Kotlin classes from Java
This commit is contained in:
committed by
Alexander Udalov
parent
8de6a5224f
commit
ec4d7b2bb6
@@ -0,0 +1,7 @@
|
||||
package app
|
||||
|
||||
import lib.J
|
||||
|
||||
fun runAppAndReturnOk(): String {
|
||||
return J.result()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package lib;
|
||||
|
||||
public class J {
|
||||
public static String result() {
|
||||
return new A().result();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package lib
|
||||
|
||||
private class A {
|
||||
fun result() = "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user