e0d597a1bc
and tests for JET-168 Improve the parser for function and tuple types as receiver types
8 lines
118 B
Plaintext
8 lines
118 B
Plaintext
fun box() : String {
|
|
return invoker( {"OK"} )
|
|
}
|
|
|
|
fun invoker(gen : fun () : String) : String {
|
|
return gen()
|
|
}
|