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

ScalametaParser: don't use exprMaybeIndented() #3262

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

kitbellew
Copy link
Contributor

@kitbellew kitbellew commented Jul 20, 2023

An expression which starts with an indent doesn't have to be indented but instead could start with an indented part and continue past it. Fixes #3261.

An expression which starts with an indent doesn't have to be indented
but instead could start with an indented part and continue past it.
Copy link
Collaborator

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kitbellew kitbellew merged commit 846abf3 into scalameta:main Jul 20, 2023
35 checks passed
@kitbellew kitbellew deleted the 3261 branch July 20, 2023 15:52
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.

can't parse poorly-indented chained match expressions without braces
2 participants