-
Notifications
You must be signed in to change notification settings - Fork 9
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
Inlining of modules fails in some cases due to quirks in Coq's resolution of module names #16
Comments
Closed
Now that coq/coq#14537 is fixed, it may be possible to fix the issue with Import, at least, by adjusting all Import/Export statements while inlining the module. |
I still wish the coqdevs would implement coq/coq#14541, which would admit a much cleaner solution to this problem. |
JasonGross
added a commit
that referenced
this issue
Oct 9, 2021
Fixes #16, also deals with the issue at coq/coq#14986 (comment)
JasonGross
added a commit
that referenced
this issue
Oct 9, 2021
Fixes #16, also deals with the issue at coq/coq#14986 (comment)
JasonGross
added a commit
that referenced
this issue
Oct 9, 2021
Fixes #16, also deals with the issue at coq/coq#14986 (comment)
JasonGross
added a commit
that referenced
this issue
Oct 9, 2021
Fixes #16, also deals with the issue at coq/coq#14986 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the files
Foo.v
:Axiom A : Set.
and
Bar.v
:The command
succeeds, because (I think) Coq refuses to mask absolute names and so the
Import Foo.Foo
refers toFoo.v
, not toTop_DOT_Foo_DOT_Foo_DOT_Baz.Foo.Foo
, even though the latter was declared later, which is how module resolution usually works.This means that running
gives
rather than thinking that there is no error.
If the coq-devs see fit to implement feature request #4455, that could basically fix this. Otherwise, this will require careful thought.
The text was updated successfully, but these errors were encountered: