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