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

8 lines
135 B
Kotlin
Vendored

// IS_APPLICABLE: false
class A(val n: Int) {
fun <caret>foo(k: Int): Boolean = n - k > 1
}
fun test() {
val t = A(1).foo(2)
}