Files
kotlin-fork/idea/resources-en/intentionDescriptions/ConvertPropertyToFunctionIntention/before.kt.template
T
Dmitry Gridin 0df5d5158d Add resources-en for idea
#KT-38297 Fixed
2020-05-19 16:22:06 +07:00

7 lines
104 B
Plaintext

class A(val n: Int) {
<spot>val foo: Int get() = n + 1</spot>
}
fun test() {
val k = A(1).foo
}