Skip to content

Conversation

@CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Nov 2, 2022

Catch patterns are allowed to forgo their pattern, while cases must have patterns. Since these productions have two different types, split these two distinct productions apart.

Fixes #1040
rdar://101815618

Catch patterns are allowed to forgo their pattern, while cases must have patterns. Since these productions have two different types, split these two distinct productions apart.

Fixes swiftlang#1040
rdar://101815618
@CodaFi CodaFi requested a review from ahoppen as a code owner November 2, 2022 08:01
@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 2, 2022

@swift-ci test

@CodaFi
Copy link
Contributor Author

CodaFi commented Nov 2, 2022

@swift-ci test

@CodaFi CodaFi merged commit 1ba598a into swiftlang:main Nov 2, 2022
@CodaFi CodaFi deleted the catch-me-outside branch November 2, 2022 17:58
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.

Failure to parse “catch where” expression

1 participant