Keep JS AST source information after refreshing local names
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
inline fun foo(x: Int) {
|
||||
val y = x > 23
|
||||
if (y) {
|
||||
println("foo")
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
foo(42)
|
||||
}
|
||||
|
||||
// LINES: 2 3 4 * 2 9 2 3 4
|
||||
+1
-1
@@ -21,4 +21,4 @@ fun bar(x: Int) {
|
||||
println("%")
|
||||
}
|
||||
|
||||
// LINES: 2 3 4 7 9 10 11 14 16 * 20 * 2 3 3 7 9 10 10 14 16 20 21
|
||||
// LINES: 2 3 4 7 9 10 11 14 16 * 20 * 2 3 4 3 7 9 10 11 10 14 16 20 21
|
||||
Reference in New Issue
Block a user