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
Cannot declare global typeclass field in definitional class #17451
Labels
Milestone
Comments
Blaisorblade
added
part: typeclasses
The typeclass mechanism.
part: vernac
High level command interpretation.
part: records
Record types, Structures, etc.
labels
Apr 4, 2023
6 tasks
The best solution would be to add support for locality attribute to the "single field" of definitional typeclasses, but that's non trivial and I don't have time to do that right now. So let's at least fix the confusing warning message: #17485 |
coqbot-app bot
added a commit
that referenced
this issue
Apr 17, 2023
…nal class) Reviewed-by: SkySkimmer Co-authored-by: SkySkimmer <SkySkimmer@users.noreply.github.com>
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 20, 2023
Should properly fix coq#17451
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 20, 2023
Should properly fix coq#17451
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 20, 2023
Should properly fix coq#17451
9 tasks
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 22, 2023
Should properly fix coq#17451
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 22, 2023
Should properly fix coq#17451
proux01
added a commit
to proux01/coq
that referenced
this issue
Jun 25, 2023
Should properly fix coq#17451
tom-p-reichel
pushed a commit
to tom-p-reichel/coq
that referenced
this issue
Jun 28, 2023
Should properly fix coq#17451
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description of the problem
The following code:
produces the warning:
However, there is no way to use the syntax:
It works without the
#[global]
but thesomething
instance is thenexport
. Of course, the other workaround withExisting Instance
works, but the warning is confusing since there is no record here.Coq Version
8.17.0
cc @Janno
The text was updated successfully, but these errors were encountered: