e0d597a1bc
and tests for JET-168 Improve the parser for function and tuple types as receiver types
8 lines
146 B
Plaintext
8 lines
146 B
Plaintext
fun foo1() : fun (Int) : Int
|
|
|
|
fun foo() {
|
|
val h : fun (Int) : Int = foo1();
|
|
h(1)
|
|
val m : fun (Int) : Int = {(a : Int) => 1}//foo1()
|
|
m(1)
|
|
} |