Fix generation of JS source maps for synthetic code in constructors

This commit is contained in:
Alexey Andreev
2017-05-03 14:22:18 +03:00
parent 4332f1cb2c
commit fb3a864892
8 changed files with 70 additions and 20 deletions
@@ -0,0 +1,28 @@
object O {
init {
println()
}
}
open class A(x: Int)
class B :
A(
23
)
class C : A {
constructor(x: Int) :
super(
x
) {
println()
}
constructor() :
this (
42
)
}
// LINES: 1 3 * 10 11 * 15 16 17 14 19 15 22 23 24 22