Files
kotlin-fork/idea/testData/intentions/operatorToFunction/functionCallMultipleArgument.kt.after
T
Jeremy Kaplan b3842285e8 Implemented Operator To Function intention action.
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
2014-05-12 21:04:51 +04:00

9 lines
151 B
Plaintext

class bar() {
fun invoke(i: Any?, j: Any?) : Boolean {
return true
}
}
fun foo(i: Any?, j: Any?) {
val test = bar().invoke(i, j)
}