mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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.
51 KiB
51 KiB