JVM_IR: generate more accessors for use in inline functions
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// FILE: JavaClass.java
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_REFLECT
|
||||
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// The non-IR backend attempts to call a non-existent accessor in class Test.
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
// FILE: Test.java
|
||||
|
||||
public class Test {
|
||||
protected static String testStatic() {
|
||||
return "OK";
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
class Test2 {
|
||||
inline fun test() = Test.testStatic()
|
||||
}
|
||||
|
||||
// FILE: test2.kt
|
||||
|
||||
package anotherPackage
|
||||
|
||||
import Test2
|
||||
|
||||
fun box() = Test2().test()
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// FILE: First.java
|
||||
|
||||
Reference in New Issue
Block a user