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

Remove leading infix test for if condition #13412

Merged
merged 1 commit into from
Aug 29, 2021
Merged

Conversation

som-snytt
Copy link
Contributor

Fixes #13410

@som-snytt som-snytt marked this pull request as ready for review August 29, 2021 06:55
@odersky
Copy link
Contributor

odersky commented Aug 29, 2021

I think the dropped test was added when we still supported if's with neither parens around the condition nor a following then. But now it should be dropped. Good catch!

@odersky odersky merged commit 22e9224 into scala:master Aug 29, 2021
@som-snytt som-snytt deleted the issue/13410 branch August 29, 2021 21:21
@Kordyjan Kordyjan added this to the 3.1.0 milestone Aug 2, 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.

space following unary minus produces misleading 'then expected' error message
3 participants