Skip to content

Fix #9166: Harden check for values in patterns based on class inheritance info #11784

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
Mar 17, 2021

Conversation

liufengyun
Copy link
Contributor

Fix #9166: Harden check for values in patterns based on class inheritance info

@liufengyun liufengyun force-pushed the fix-9166 branch 5 times, most recently from 8123de4 to 9e54dbe Compare March 17, 2021 11:46
@liufengyun liufengyun requested a review from smarter March 17, 2021 16:24
@smarter smarter merged commit d868b56 into scala:master Mar 17, 2021
@smarter smarter deleted the fix-9166 branch March 17, 2021 17:01
liufengyun added a commit to dotty-staging/dotty that referenced this pull request Jul 4, 2023
The original PR fixes a trivial issue. However, the fix has both false
positives and negatives. It's not easy to do the right thing. Therefore,
it's simpler to remove the original fixes.
@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.

No static check for pattern match on Identifiers
3 participants