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

Fix #16899: Better handle X instanceOf P where X is T1 | T2 #17382

Merged
merged 8 commits into from
May 4, 2023

Conversation

liufengyun
Copy link
Contributor

Fix #16899: Better handle X instanceOf P where X is T1 | T2

@liufengyun liufengyun marked this pull request as ready for review May 2, 2023 05:26
@dwijnand dwijnand merged commit d2d3da9 into scala:main May 4, 2023
@dwijnand dwijnand deleted the fix-16899 branch May 4, 2023 09:26
liufengyun added a commit to dotty-staging/dotty that referenced this pull request May 9, 2023
This commit replaces scala#17382 with a simpler fix.
nicolasstucki added a commit that referenced this pull request May 19, 2023
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 2023
G1ng3r pushed a commit to G1ng3r/dotty that referenced this pull request Sep 10, 2023
This commit replaces scala#17382 with a simpler fix.
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.

Wrong warning on matching union types
4 participants