ccbb2a08a0
Don't generate unnecessary mappings so that the user doesn't need to step in many times to get where they want #KT-46276
15 lines
279 B
Kotlin
Vendored
15 lines
279 B
Kotlin
Vendored
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(JS): 1 2 2 2 2 2 2 2 2 2 4 4 4 * 7 7 8 10 9 9
|
|
// LINES(JS_IR): 1 1 2 2 2 2 2 * 4 4 4 7 7 7 8 9 9
|