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
18 lines
356 B
Kotlin
Vendored
18 lines
356 B
Kotlin
Vendored
import kotlin.reflect.*
|
|
|
|
open class A {
|
|
var x: String by
|
|
B()
|
|
}
|
|
|
|
class B {
|
|
operator fun getValue(thisRef: Any?, property: KProperty<*>): String {
|
|
return "OK"
|
|
}
|
|
|
|
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
|
|
println(value)
|
|
}
|
|
}
|
|
|
|
// LINES: 3 4 5 * 4 4 4 * 8 9 11 10 10 13 15 14 14 |