Remove LANGUAGE_VERSION from boxInline tests
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -14,4 +13,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun({ "OK" })
|
return inlineFun({ "OK" })
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -18,4 +17,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(A("OK"))
|
return inlineFun(A("OK"))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = inlineFun(2)
|
val result = inlineFun(2)
|
||||||
return if (result == 3) return "OK" else "fail $result"
|
return if (result == 3) return "OK" else "fail $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = inlineFun(2)
|
val result = inlineFun(2)
|
||||||
return if (result == 3) return "OK" else "fail $result"
|
return if (result == 3) return "OK" else "fail $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(A("OK"))
|
return inlineFun(A("OK"))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -19,4 +18,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = inlineFun()
|
val result = inlineFun()
|
||||||
return if (result == 2) return "OK" else "fail $result"
|
return if (result == 2) return "OK" else "fail $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -19,4 +18,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = inlineFun()
|
val result = inlineFun()
|
||||||
return if (result == 2L) return "OK" else "fail $result"
|
return if (result == 2L) return "OK" else "fail $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -18,4 +17,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun("OK").value
|
return inlineFun("OK").value
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -12,7 +12,6 @@ inline fun stub() {}
|
|||||||
|
|
||||||
|
|
||||||
// FILE: 2.kt
|
// FILE: 2.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
import test.A.ok
|
import test.A.ok
|
||||||
|
|
||||||
@@ -22,4 +21,4 @@ inline fun inlineFun(lambda: () -> String = ::ok): String {
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -18,4 +17,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(A("OK"))
|
return inlineFun(A("OK"))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -20,4 +19,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -21,4 +20,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(A("OK")).ok()
|
return inlineFun(A("OK")).ok()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -9,7 +9,6 @@ inline fun stub() {}
|
|||||||
|
|
||||||
|
|
||||||
// FILE: 2.kt
|
// FILE: 2.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
import test.A.ok
|
import test.A.ok
|
||||||
|
|
||||||
@@ -19,4 +18,4 @@ inline fun inlineFun(lambda: () -> String = ::ok): String {
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -16,4 +15,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(A("OK"))
|
return inlineFun(A("OK"))
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -18,4 +17,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -18,4 +17,4 @@ import test.*
|
|||||||
// CHECK_CONTAINS_NO_CALLS: box
|
// CHECK_CONTAINS_NO_CALLS: box
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return A("OK").inlineFun()
|
return A("OK").inlineFun()
|
||||||
}
|
}
|
||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
// CHECK_CONTAINS_NO_CALLS: test
|
// CHECK_CONTAINS_NO_CALLS: test
|
||||||
package test
|
package test
|
||||||
@@ -28,4 +27,4 @@ class B : A {
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return B().test()
|
return B().test()
|
||||||
}
|
}
|
||||||
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
// IGNORE_BACKEND: JS, NATIVE
|
// IGNORE_BACKEND: JS, NATIVE
|
||||||
//WITH_RUNTIME
|
//WITH_RUNTIME
|
||||||
@@ -20,4 +19,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return X.inlineFun("OK")
|
return X.inlineFun("OK")
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun ({ "OK" })
|
return inlineFun ({ "OK" })
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -19,4 +18,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = "OK".inlineFun()
|
val result = "OK".inlineFun()
|
||||||
return if (result == "OKOK") "OK" else "fail 1: $result"
|
return if (result == "OKOK") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -20,4 +19,4 @@ fun String.test(): String = "INLINE".inlineFun({ this })
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = "TEST".test()
|
val result = "TEST".test()
|
||||||
return if (result == "INLINE TEST INLINE") "OK" else "fail 1: $result"
|
return if (result == "INLINE TEST INLINE") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -22,4 +21,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = with(A("VALUE")) { "OK".inlineFun() }
|
val result = with(A("VALUE")) { "OK".inlineFun() }
|
||||||
return if (result == "VALUE OK OK") "OK" else "fail 1: $result"
|
return if (result == "VALUE OK OK") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -24,4 +23,4 @@ fun String.test(): String = with(A("VALUE")) { "INLINE".inlineFun({ this@test })
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = "TEST".test()
|
val result = "TEST".test()
|
||||||
return if (result == "VALUE INLINE TEST INLINE") "OK" else "fail 1: $result"
|
return if (result == "VALUE INLINE TEST INLINE") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun("OK")
|
return inlineFun("OK")
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun("OK") as String
|
return inlineFun("OK") as String
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun() as String
|
return inlineFun() as String
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun("OK")
|
return inlineFun("OK")
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -19,4 +18,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun(B("O")).value + inlineFun(A("K")).value
|
return inlineFun(B("O")).value + inlineFun(A("K")).value
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -15,4 +14,4 @@ import test.*
|
|||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun()
|
return inlineFun()
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -21,4 +20,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = "OK".inlineFun()
|
val result = "OK".inlineFun()
|
||||||
return if (result == "OKOK") "OK" else "fail 1: $result"
|
return if (result == "OKOK") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
package test
|
package test
|
||||||
|
|
||||||
@@ -23,4 +22,4 @@ import test.*
|
|||||||
fun box(): String {
|
fun box(): String {
|
||||||
val result = with(A("VALUE")) { "OK".inlineFun() }
|
val result = with(A("VALUE")) { "OK".inlineFun() }
|
||||||
return if (result == "OKOK") "OK" else "fail 1: $result"
|
return if (result == "OKOK") "OK" else "fail 1: $result"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
|
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|
||||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
class OK
|
class OK
|
||||||
@@ -21,8 +20,6 @@ inline fun <reified T> inlineFun2(): String {
|
|||||||
|
|
||||||
import test.*
|
import test.*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun2<FAIL>()
|
return inlineFun2<FAIL>()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
inline fun <reified T> inlineFun(p: String, lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
|
inline fun <reified T> inlineFun(p: String, lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
inline fun <reified T> inlineFun(p: String, crossinline lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
|
inline fun <reified T> inlineFun(p: String, crossinline lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
inline fun <reified T> inlineFun(crossinline lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
inline fun <reified T> inlineFun(crossinline lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
inline fun <reified T> inlineFun(lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
inline fun <reified T> inlineFun(lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
inline fun <reified T> inlineFun(lambda: () -> String = { T::class.java.simpleName }): String {
|
inline fun <reified T> inlineFun(lambda: () -> String = { T::class.java.simpleName }): String {
|
||||||
|
|||||||
+1
-2
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
class K
|
class K
|
||||||
|
|||||||
+1
-4
@@ -1,9 +1,8 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// IGNORE_BACKEND: NATIVE
|
// IGNORE_BACKEND: NATIVE
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
//WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
package test
|
package test
|
||||||
|
|
||||||
class OK
|
class OK
|
||||||
@@ -21,8 +20,6 @@ inline fun <reified X> inlineFun2(): String {
|
|||||||
|
|
||||||
import test.*
|
import test.*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
return inlineFun2<OK>()
|
return inlineFun2<OK>()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
|
|
||||||
package test
|
package test
|
||||||
inline fun inlineFun(capturedParam: String, crossinline lambda: () -> String = { capturedParam }): String {
|
inline fun inlineFun(capturedParam: String, crossinline lambda: () -> String = { capturedParam }): String {
|
||||||
return {
|
return {
|
||||||
@@ -88,4 +88,4 @@ test/_1Kt$inlineFun$1
|
|||||||
*L
|
*L
|
||||||
1#1,12:1
|
1#1,12:1
|
||||||
6#2:13
|
6#2:13
|
||||||
*E
|
*E
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
// LANGUAGE_VERSION: 1.2
|
|
||||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
|
|
||||||
package test
|
package test
|
||||||
inline fun inlineFun(capturedParam: String, lambda: () -> String = { capturedParam }): String {
|
inline fun inlineFun(capturedParam: String, lambda: () -> String = { capturedParam }): String {
|
||||||
return lambda()
|
return lambda()
|
||||||
@@ -65,4 +65,4 @@ _2Kt
|
|||||||
*L
|
*L
|
||||||
6#1,2:10
|
6#1,2:10
|
||||||
6#1:12
|
6#1:12
|
||||||
*E
|
*E
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// IGNORE_BACKEND: JVM_IR
|
// IGNORE_BACKEND: JVM_IR
|
||||||
// FILE: inlined.kt
|
// FILE: inlined.kt
|
||||||
// LANGUAGE_VERSION: 1.3
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
// NO_CHECK_LAMBDA_INLINING
|
// NO_CHECK_LAMBDA_INLINING
|
||||||
import kotlin.coroutines.*
|
import kotlin.coroutines.*
|
||||||
|
|||||||
+6
-6
@@ -1209,14 +1209,14 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
|||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInClass.kt")
|
@TestMetadata("instanceCapturedInClass.kt")
|
||||||
public void testInstanceCapuredInClass() throws Exception {
|
public void testInstanceCapturedInClass() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInInterface.kt")
|
@TestMetadata("instanceCapturedInInterface.kt")
|
||||||
public void testInstanceCapuredInInterface() throws Exception {
|
public void testInstanceCapturedInInterface() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jvmStaticDefault.kt")
|
@TestMetadata("jvmStaticDefault.kt")
|
||||||
|
|||||||
Generated
+6
-6
@@ -1209,14 +1209,14 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
|||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInClass.kt")
|
@TestMetadata("instanceCapturedInClass.kt")
|
||||||
public void testInstanceCapuredInClass() throws Exception {
|
public void testInstanceCapturedInClass() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInInterface.kt")
|
@TestMetadata("instanceCapturedInInterface.kt")
|
||||||
public void testInstanceCapuredInInterface() throws Exception {
|
public void testInstanceCapturedInInterface() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jvmStaticDefault.kt")
|
@TestMetadata("jvmStaticDefault.kt")
|
||||||
|
|||||||
+6
-6
@@ -1209,14 +1209,14 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
|||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInClass.kt")
|
@TestMetadata("instanceCapturedInClass.kt")
|
||||||
public void testInstanceCapuredInClass() throws Exception {
|
public void testInstanceCapturedInClass() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInInterface.kt")
|
@TestMetadata("instanceCapturedInInterface.kt")
|
||||||
public void testInstanceCapuredInInterface() throws Exception {
|
public void testInstanceCapturedInInterface() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jvmStaticDefault.kt")
|
@TestMetadata("jvmStaticDefault.kt")
|
||||||
|
|||||||
Generated
+6
-6
@@ -181,14 +181,14 @@ public class InlineDefaultValuesTestsGenerated extends AbstractInlineDefaultValu
|
|||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInClass.kt")
|
@TestMetadata("instanceCapturedInClass.kt")
|
||||||
public void testInstanceCapuredInClass() throws Exception {
|
public void testInstanceCapturedInClass() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInInterface.kt")
|
@TestMetadata("instanceCapturedInInterface.kt")
|
||||||
public void testInstanceCapuredInInterface() throws Exception {
|
public void testInstanceCapturedInInterface() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jvmStaticDefault.kt")
|
@TestMetadata("jvmStaticDefault.kt")
|
||||||
|
|||||||
Generated
+6
-6
@@ -181,14 +181,14 @@ public class IrInlineDefaultValuesTestsGenerated extends AbstractIrInlineDefault
|
|||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/genericLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInClass.kt")
|
@TestMetadata("instanceCapturedInClass.kt")
|
||||||
public void testInstanceCapuredInClass() throws Exception {
|
public void testInstanceCapturedInClass() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInClass.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("instanceCapuredInInterface.kt")
|
@TestMetadata("instanceCapturedInInterface.kt")
|
||||||
public void testInstanceCapuredInInterface() throws Exception {
|
public void testInstanceCapturedInInterface() throws Exception {
|
||||||
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapuredInInterface.kt");
|
runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/instanceCapturedInInterface.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("jvmStaticDefault.kt")
|
@TestMetadata("jvmStaticDefault.kt")
|
||||||
|
|||||||
Reference in New Issue
Block a user