Fix JS source maps for delegates and backing fields

This commit is contained in:
Alexey Andreev
2017-05-12 19:49:35 +03:00
parent 13795b47fb
commit 1014666937
8 changed files with 103 additions and 14 deletions
@@ -0,0 +1,18 @@
import kotlin.reflect.*
open class A {
var x: String by
B()
}
class B {
operator fun getValue(thisRef: Any?, property: KProperty<*>): String {
return "OK"
}
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
println(value)
}
}
// LINES: 4 5 4 4 2 * 10 * 14