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
17 lines
262 B
Kotlin
Vendored
17 lines
262 B
Kotlin
Vendored
fun box(a: C, x: dynamic) {
|
|
println(a
|
|
.foo()
|
|
.bar())
|
|
|
|
println(a
|
|
.baz
|
|
.boo)
|
|
}
|
|
|
|
class C {
|
|
fun foo(): dynamic = null
|
|
|
|
val baz: dynamic get() = null
|
|
}
|
|
|
|
// LINES: 1 9 2 4 3 2 6 8 7 6 11 12 12 12 14 14 14 |