Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Try to unify Scala 2 and 3 handling of tautological intersections, but fail because of https://github.com/lampepfl/dotty/issues/17544 #393

Merged
merged 5 commits into from
May 20, 2023

Conversation

neko-kai
Copy link
Member

Try to unify Scala 2 and 3 handling of tautological intersections, but fail because of scala/scala3#17544

Add removeIntersectionTautologies and removeUnionTautologies methods to LightTypeTag

Ensure at type level that IntersectionReference and UnionReference can't be nested.

Fix maybeUnion not removing Nothing from unions and not widening to top types

…t fail because of scala/scala3#17544

Add `removeIntersectionTautologies` and `removeUnionTautologies` methods to `LightTypeTag`

Ensure at type level that IntersectionReference and UnionReference can't be nested.

Fix maybeUnion not removing Nothing from unions and not widening to top types
@neko-kai neko-kai requested a review from pshirshov as a code owner May 20, 2023 00:45
@neko-kai neko-kai merged commit 339b5b8 into develop May 20, 2023
@neko-kai neko-kai deleted the feature/unify-tautology branch May 20, 2023 01:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant