10 lines
140 B
Plaintext
10 lines
140 B
Plaintext
fun test() {
|
|
class Test {
|
|
fun plus(fn: () -> Test): Test = fn()
|
|
}
|
|
val test = Test()
|
|
test + {
|
|
Test()
|
|
}
|
|
}
|