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

Equations picks constructor over local variable when resolving names #629

Open
TheoWinterhalter opened this issue Jan 8, 2025 · 0 comments

Comments

@TheoWinterhalter
Copy link

The following code fails on Coq 8.20 and Equations 1.3.1.

Equations foo (I : Type) : bool :=
  foo I := true.

The error message is Unable to build a covering for: foo I In context: I : Type.

Renaming I to, eg., J solves the problem but it should not be necessary as I shadows the constructor for True.

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

No branches or pull requests

1 participant