Fix generation of JS source maps for class properties

This commit is contained in:
Alexey Andreev
2017-05-05 21:46:59 +03:00
parent 6f8ccfb80d
commit 77df0f28bf
6 changed files with 48 additions and 6 deletions
@@ -0,0 +1,10 @@
class A {
val z by
lazy { 23 }
}
fun foo() {
println(A().z)
}
// LINES: 2 3 * 3 * 7
+10
View File
@@ -0,0 +1,10 @@
class A(
val x: Int,
val y: String
)
fun foo() {
A(23, "foo")
}
// LINES: 2 3 * 7