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

11 lines
142 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: false
class A(val n: Int) {
fun <caret>foo() {
println(n)
}
}
fun test() {
A(1).foo()
}