Skip to content
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

Fix syntax and parsing of vararg patterns #18055

Merged
merged 3 commits into from
Jun 27, 2023
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 25, 2023

Syntax: Remove outdated * after InfixPattern
Parsing: Only allow vararg * in ArgumentPatterns

Fixes #17443

@prolativ
Copy link
Contributor

@odersky LGTM although it looks like the GH actions for the CI were not created for some reason

Syntax: Remove outdated `*` after InfixPattern
Parsing: Only allow vararg `*` in ArgumentPatterns

Fixes scala#17443
@prolativ prolativ merged commit 8205a5b into scala:main Jun 27, 2023
@prolativ prolativ deleted the fix-17443 branch June 27, 2023 09:24
@Kordyjan Kordyjan added this to the 3.4.0 milestone Aug 1, 2023
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.

Unexpected semantics of non-nested varargs pattern
3 participants