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
15 lines
299 B
Kotlin
Vendored
15 lines
299 B
Kotlin
Vendored
open class A {
|
|
open var x = 23
|
|
|
|
var y: String = "42"
|
|
get() = field +
|
|
"!"
|
|
set(value) {
|
|
print(
|
|
field)
|
|
field =
|
|
value.removeSuffix("!")
|
|
}
|
|
}
|
|
|
|
// LINES: 1 2 2 4 4 2 2 2 2 5 5 5 6 7 12 8 9 10 11 |