New source mapping
This commit is contained in:
+66
@@ -0,0 +1,66 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
inline fun test(s: () -> Unit) {
|
||||
val z = 1;
|
||||
s()
|
||||
val x = 1;
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
inline fun test2(s: () -> String): String {
|
||||
val z = 1;
|
||||
val res = s()
|
||||
return res
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var result = "fail"
|
||||
|
||||
test {
|
||||
{
|
||||
result = test2 {
|
||||
"OK"
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
// FILE: 1.smap
|
||||
|
||||
// FILE: 2.smap
|
||||
|
||||
SMAP
|
||||
2.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
+ 2 1.kt
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,26:1
|
||||
6#2,4:27
|
||||
*E
|
||||
|
||||
SMAP
|
||||
2.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt$box$1$1
|
||||
+ 2 2.kt
|
||||
_2Kt
|
||||
*L
|
||||
1#1,26:1
|
||||
6#2,3:27
|
||||
*E
|
||||
Reference in New Issue
Block a user