Remove LANGUAGE_VERSION from boxInline tests
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
class OK
|
||||
@@ -21,8 +20,6 @@ inline fun <reified T> inlineFun2(): String {
|
||||
|
||||
import test.*
|
||||
|
||||
|
||||
|
||||
fun box(): String {
|
||||
return inlineFun2<FAIL>()
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
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: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
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: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
inline fun <reified T> inlineFun(crossinline lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
inline fun <reified T> inlineFun(lambda: () -> String = { { T::class.java.simpleName } () }): String {
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
inline fun <reified T> inlineFun(lambda: () -> String = { T::class.java.simpleName }): String {
|
||||
|
||||
+1
-2
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
class K
|
||||
|
||||
+1
-4
@@ -1,9 +1,8 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// FILE: 1.kt
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
//WITH_RUNTIME
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
class OK
|
||||
@@ -21,8 +20,6 @@ inline fun <reified X> inlineFun2(): String {
|
||||
|
||||
import test.*
|
||||
|
||||
|
||||
|
||||
fun box(): String {
|
||||
return inlineFun2<OK>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user