JET-140 Change function type syntax
and tests for JET-168 Improve the parser for function and tuple types as receiver types
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
fun invoker(~gen~gen : {() : Int}) : Int {
|
||||
fun invoker(~gen~gen : fun () : Int) : Int {
|
||||
return `gen`gen() // Says it cannot resolve 'gen' here
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user