[FIR-TEST] Update testdata
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
interface Base
|
interface Base
|
||||||
class Derived: Base
|
class Derived: Base
|
||||||
class Another: Base
|
class Another: Base
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
interface Base
|
interface Base
|
||||||
class Derived: Base
|
class Derived: Base
|
||||||
class Another: Base
|
class Another: Base
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|
||||||
sealed class Result {
|
sealed class Result {
|
||||||
class Failure(val exception: Exception) : Result()
|
class Failure(val exception: Exception) : Result()
|
||||||
class Success(val message: String) : Result()
|
class Success(val message: String) : Result()
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ import java.lang.invoke.MethodHandle
|
|||||||
|
|
||||||
fun test(mh: MethodHandle) {
|
fun test(mh: MethodHandle) {
|
||||||
mh.invokeExact("1", "2")
|
mh.invokeExact("1", "2")
|
||||||
mh.invokeExact(*emptyArray(), "X")
|
mh.<!INAPPLICABLE_CANDIDATE!>invokeExact<!>(*emptyArray(), "X")
|
||||||
mh.invokeExact(*arrayOf("A", "B"), "C", *arrayOf("D", "E"))
|
mh.<!INAPPLICABLE_CANDIDATE!>invokeExact<!>(*arrayOf("A", "B"), "C", *arrayOf("D", "E"))
|
||||||
mh.invoke(*arrayOf("A"))
|
mh.invoke(*arrayOf("A"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user