Skip to content

FormatOps: don't support invalid param modifiers #3482

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 2 commits into from
Feb 23, 2023

Conversation

kitbellew
Copy link
Collaborator

Specifically, scala syntax prohibits repeated modifiers (in this case, repeated implicit on the first parameter) and requires val or var on parameters with explicit modifiers. The respective parser change will come in scalameta v4.7.5.

Scala syntax prohibits repeated modifiers but the current parser doesn't
yet detect the case of repeated `implicit` modifiers specifically on the
first parameter.  The parser change will come in scalameta v4.7.5.
Scala syntax requires `val`/`var` on parameters with explicit modifiers
and the respective parser change will come in scalameta v4.7.5.
@kitbellew kitbellew requested a review from tgodzik February 21, 2023 18:59
@kitbellew kitbellew merged commit 6dea267 into scalameta:master Feb 23, 2023
@kitbellew kitbellew deleted the 3482 branch February 23, 2023 13: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.

None yet

2 participants