Files
kotlin-fork/idea/testData/intentions/convertFunctionToProperty/expressionBody.kt.after
T
2019-02-28 15:59:50 +03:00

8 lines
110 B
Plaintext
Vendored

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