Files
kotlin-fork/idea/resources/intentionDescriptions/ConvertFunctionToPropertyIntention/before.kt.template
T
2015-02-05 23:12:38 +03:00

7 lines
102 B
Plaintext

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