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:
Denis Zharkov
2018-12-21 09:10:04 +03:00
parent 5437a0e478
commit e6710b6fa2
8 changed files with 568 additions and 0 deletions
@@ -0,0 +1,5 @@
fun foo(x: Int, y: z: Int) {}
fun bar(x: y: Int, z: Int) {}
fun baz(x: y: z: Int) {}