Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceBinaryInfixIntention/functionLiteralArgument.kt.after
T
2015-05-14 01:10:05 +03:00

10 lines
140 B
Plaintext

fun test() {
class Test {
fun plus(fn: () -> Test): Test = fn()
}
val test = Test()
test + {
Test()
}
}