Skip to content

[test] Add any_pattern in tuple pattern element extra tests #60504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

LucianoPAlmeida
Copy link
Contributor

AnyPattern in tuple pattern element should be able to be hole in the same way as named patterns.

Resolves #60503.

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida LucianoPAlmeida changed the title [Sema] Allow any_pattern in tuple pattern element context to be hole [test] Add any_pattern in tuple pattern element extra tests Aug 12, 2022
@LucianoPAlmeida LucianoPAlmeida requested a review from xedin August 12, 2022 13:05
@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@xedin xedin merged commit 8cd8854 into swiftlang:main Aug 12, 2022
@LucianoPAlmeida LucianoPAlmeida deleted the any-pattern-hole branch August 12, 2022 17:10
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.

[Sema] Incorrect extra diagnostic for tuple pattern binding with _ element
2 participants