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

Interactive module should error when type is functorized #15348

Open
SkySkimmer opened this issue Dec 13, 2021 · 0 comments
Open

Interactive module should error when type is functorized #15348

SkySkimmer opened this issue Dec 13, 2021 · 0 comments
Labels
kind: user messages Improvement of error messages, new warnings, etc. part: modules The module system of Coq.

Comments

@SkySkimmer
Copy link
Contributor

Module Type E. End E.
Module Type T (X:E). End T.

Module M : T.
End M.

current error is on End M saying Incompatible module types: module expects 1 arguments, found 0.
I think we should error on Module M : T.
(same thing happens for Module M <: T)

@Alizter Alizter added kind: user messages Improvement of error messages, new warnings, etc. part: modules The module system of Coq. labels Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: user messages Improvement of error messages, new warnings, etc. part: modules The module system of Coq.
Projects
None yet
Development

No branches or pull requests

2 participants