46b98a1e98
- Don't produce mapping for closing bracket in case of expressionBody - Map Kt*Function declaration into corresponding js fun declaration - Update test data & add new test
14 lines
210 B
Kotlin
Vendored
14 lines
210 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: 1 2 2 2 2 2 2 2 2 2 4 4 4 * 7 7 8 10 9 9
|