[TD] Update testdata according to previous commit
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
// FILE: 1.kt
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
package test
|
||||
inline fun stub() {
|
||||
@@ -12,4 +12,4 @@ fun box(): String {
|
||||
return "KO".reversed()
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// FILE: 1.kt
|
||||
// IGNORE_FIR_DIAGNOSTICS
|
||||
// WITH_RUNTIME
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
inline fun stub() {
|
||||
@@ -17,4 +18,4 @@ fun box(): String {
|
||||
return prop
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// WITH_REFLECT
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
// WITH_REFLECT
|
||||
package test
|
||||
|
||||
inline fun <reified T : Any> className() = T::class.java.simpleName
|
||||
@@ -16,7 +16,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
|
||||
SMAP
|
||||
2.kt
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// WITH_REFLECT
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
inline val <reified T : Any> T.className: String; get() = T::class.java.simpleName
|
||||
@@ -16,7 +16,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
|
||||
SMAP
|
||||
2.kt
|
||||
|
||||
@@ -19,6 +19,6 @@ fun box(): String {
|
||||
})
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
// See KT-23064 for the problem, InlineOnlySmapSkipper for an explanation, and
|
||||
// `stdlibInlineOnlyOneLine.kt` for the case where something should actually happen.
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ fun box(): String {
|
||||
return "O".myLet(fun (it: String): String { return it + k })
|
||||
}
|
||||
|
||||
// FILE: 2.smap
|
||||
// SMAP_FILE: 2.smap
|
||||
// See KT-23064 for the problem and InlineOnlySmapSkipper for an explanation.
|
||||
SMAP
|
||||
2.kt
|
||||
|
||||
Reference in New Issue
Block a user