Add recovery for value parameter without type or name
The case for KT-7237 belongs to /NoGTInTypeArguments test It was fixed implicitly: before it recovery was working but the name for the next parameter was attached to type argument list. After that change, parameter without name gets parsed correctly (with an error of course) ^KT-13731 Fixed ^KT-7237 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(x: Int, y: z: Int) {}
|
||||
|
||||
fun bar(x: y: Int, z: Int) {}
|
||||
|
||||
fun baz(x: y: z: Int) {}
|
||||
Reference in New Issue
Block a user