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 inferred roles #10

Merged
merged 2 commits into from
Apr 13, 2024
Merged

Fix inferred roles #10

merged 2 commits into from
Apr 13, 2024

Conversation

Mikolaj
Copy link

@Mikolaj Mikolaj commented Dec 4, 2023

I've copied the inferred roles except for the few cases phantom was inferred for the type-level rank or shape arguments, which should obviously have a nominal role so that plugins and other users of the library don't feel free to coerce them away. Inspired by https://gitlab.haskell.org/ghc/ghc/-/issues/23923#note_537705

@augustss augustss merged commit 20420d4 into augustss:master Apr 13, 2024
5 checks passed
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.

2 participants