Trailing comma not allowed in generic argument lists despite SE-0439 #81474
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Trailing commas are supported in some of the following generic argument lists, but not all of them:
I would expect trailing commas to be supported in all of these places given SE-0439.
Reproduction
Run the above code using a Swift 6.1 compiler, e.g. https://swiftfiddle.com/w2lk6nc4bvar7fwiwonknrlq6a
Expected behavior
The code should compile, but doesn't.
Environment
Swift version 6.2-dev (LLVM a3e32cdaae72f3d, Swift fa86097)
Additional information
No response
The text was updated successfully, but these errors were encountered: