Skip to content

Conversation

calda
Copy link
Contributor

@calda calda commented May 20, 2025

Corresponding swift-syntax PR: swiftlang/swift-syntax#3081


Explanation:

This PR fixes bugs in Swift 6.1 where trailing commas are unexpectedly not allowed.

Scope:

This PR fixes a parsing bugs related to trailing commas in a small handful of places:

  • tuple types
  • closure types
  • generic types
  • protocol declaration primary associated type lists

Issues:

Original PR:

#81612

Risk:

Low: Targeted parsing change in a few places missed in the original implementation from Swift 6.1

Testing:

New test cases, Swift CI

Reviewers:

@rintaro

@rintaro
Copy link
Member

rintaro commented May 20, 2025

swiftlang/swift-syntax#3081
@swift-ci Please test

@rintaro rintaro merged commit 6d254b7 into swiftlang:release/6.2 May 21, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants