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

Refine condition for eliding return in pattern matching #12977

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 29, 2021

Reverting to the first version of #5082.

Fixes #12976

Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

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

LGTM

@odersky odersky merged commit f34a3bb into scala:master Jun 29, 2021
@odersky odersky deleted the fix-12976 branch June 29, 2021 22:17
@Kordyjan Kordyjan added this to the 3.0.2 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.

strange MatchError if match body has generic method call without explicit type param
4 participants