[TD] Update testdata according to previous commit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
public class Input(val s1: String, val s2: String) {
|
||||
|
||||
+2
-2
@@ -1,14 +1,14 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
inline fun <T> takeT(t: T) {}
|
||||
|
||||
// FILE: 2.kt
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
val f = { null } as () -> Int
|
||||
takeT(f())
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
public class Input(val s1: String, val s2: String) {
|
||||
|
||||
@@ -17,4 +17,4 @@ fun box(): String {
|
||||
return test("O") {
|
||||
this + "K"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,4 +16,4 @@ fun box(): String {
|
||||
return test("O") {
|
||||
this + "K"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,5 +1,6 @@
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
|
||||
@@ -34,7 +35,6 @@ public inline fun <T> with2(receiver : T, crossinline body : T.() -> Unit) : Un
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun Data.test1(d: Data) : Long {
|
||||
|
||||
Reference in New Issue
Block a user