-
Notifications
You must be signed in to change notification settings - Fork 720
Open
Labels
kind: bugAn error, flaw, fault or unintended behaviour.An error, flaw, fault or unintended behaviour.kind: user messagesError messages, warnings, etc.Error messages, warnings, etc.part: printerThe printing mechanism of Coq.The printing mechanism of Coq.part: universesThe universe system.The universe system.
Description
Description of the problem
Elimination constraints aren't printed in this error:
Lines 1313 to 1315 in f5272de
| Printer.pr_universe_instance_binder sigma | |
| (UContext.instance uctx) | |
| (UContext.univ_constraints uctx) |
More generally, pr_universe_instance_binder is always called on AbstractContext.repr / make_abstract_instance, with constraints most often empty, so the interface should be improved.
Small Rocq / Coq file to reproduce the bug
Set Universe Polymorphism.
Module Type M.
Parameter T@{s; u|Set < u} : unit.
End M.
Module M2 : M.
Definition T@{s; u|s -> Type, Set < u} := tt.
End M2.Version of Rocq / Coq where this bug occurs
9.2
Interface of Rocq / Coq where this bug occurs
No response
Last version of Rocq / Coq where the bug did not occur
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: bugAn error, flaw, fault or unintended behaviour.An error, flaw, fault or unintended behaviour.kind: user messagesError messages, warnings, etc.Error messages, warnings, etc.part: printerThe printing mechanism of Coq.The printing mechanism of Coq.part: universesThe universe system.The universe system.