10 lines
150 B
Kotlin
10 lines
150 B
Kotlin
fun test() {
|
|
class Test {
|
|
fun plus(fn: () -> Test): Test = fn()
|
|
}
|
|
val test = Test()
|
|
test.pl<caret>us {
|
|
Test()
|
|
}
|
|
}
|