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

Sort out union subtyping #593

Open
milessabin opened this issue Apr 9, 2024 · 0 comments
Open

Sort out union subtyping #593

milessabin opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@milessabin
Copy link
Member

Currently the definition of the case(s) for unions in <:< don't implement a particularly sane subtype relation. Nonetheless the current semantics are relied on, eg. in fragmentApplies. Probably unions should only relate as subtypes to other unions and we should introduce a separate relation for fragment applicability.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant