mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
We accepted unnamed closure parameters if the type was an array literal, dictionary literal, tuple or function (because the `[` or `(` starting the type was sufficient to disambiguate the type from the parameter’s name). This was never an accepted syntax and we should disallow it.