b0b6728c7e
KT-3551 Wrong synthetic accessor implementation
12 lines
214 B
Kotlin
12 lines
214 B
Kotlin
package testing
|
|
|
|
class Test {
|
|
private val hello: String
|
|
get() { return "hello" }
|
|
|
|
fun sayHello() : String = hello
|
|
}
|
|
|
|
fun box(): String {
|
|
return if (Test().sayHello() == "hello") "OK" else "fail"
|
|
} |