Files
kotlin-fork/idea/testData/intentions/convertFunctionToProperty/expressionBody.kt.after
T
2015-02-05 23:12:38 +03:00

8 lines
103 B
Plaintext
Vendored

class A(val n: Int) {
val foo: Boolean
get() = n > 1
}
fun test() {
val t = A(1).foo
}