Skip to content

Constant fold results of nonempty tests in pattern matching #11617

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 1 commit into from
Mar 5, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Mar 5, 2021

Fixes #11605

Copy link
Contributor

@liufengyun liufengyun 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 17fe2b0 into scala:master Mar 5, 2021
@odersky odersky deleted the fix-11605 branch March 5, 2021 17:18
@Kordyjan Kordyjan added this to the 3.0.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.

compiler throw AssertionError when use singleton type "isEmpty" extractor
3 participants