-
Notifications
You must be signed in to change notification settings - Fork 377
Fixed #6999 #7000
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
Fixed #6999 #7000
Conversation
Congratulations for getting ticket number #7000, you win a prize! (To be claimed next time we meet in person.) Now let me take a look at the contents of this PR. |
I agree that there is definitely something wrong in the occurs checker here, but I don't think this fix is the right one. De modality in the
The argument |
The system has intentionally been set up in that way: {-# OPTIONS --erasure #-}
Accepted : Se
8000
t₁
Accepted = (@0 A : Set) → @0 A → Set
Rejected : Set₁
Rejected = (@0 A : Set) → A → Set |
Ok, I'm still confused about why that is the case (and I apologize for being continually confused with how erasure works for pi types) but given that that's the typing rule I agree that this is the right change to make. |
I am also confused. I thought |
It would perhaps be fine to allow |
See issue #6999.