Files
kotlin-fork/idea/testData/intentions/conventionNameCalls/replaceCallWithBinaryOperator/functionLiteralArgument.kt
T
2015-12-17 11:11:27 +03:00

10 lines
159 B
Kotlin
Vendored

fun test() {
class Test {
operator fun plus(fn: () -> Test): Test = fn()
}
val test = Test()
test.pl<caret>us {
Test()
}
}