Fix generation of JS source maps for default parameters

(Of open member functions)
This commit is contained in:
Alexey Andreev
2017-05-10 19:37:24 +03:00
parent e1009622af
commit 8dae399945
5 changed files with 31 additions and 10 deletions
@@ -0,0 +1,13 @@
open class A {
open fun foo(x: Int = 23): Int = x
fun bar() = 42
}
class B : A() {
override fun foo(x: Int): Int {
return x * 2
}
}
// LINES: 2 * 2 2 2 * 4 * 7 9