b0b6728c7e
KT-3551 Wrong synthetic accessor implementation
11 lines
187 B
Kotlin
11 lines
187 B
Kotlin
class Test {
|
|
val a : String = "1"
|
|
private val b : String get() = a
|
|
|
|
fun outer() : Int {
|
|
return b.length
|
|
}
|
|
}
|
|
|
|
fun box() = if (Test().outer() == 1) "OK" else "fail"
|