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

Repeated Kind is OK, but repeated Type is not #139

Open
chaudhuri opened this issue Jun 23, 2022 · 0 comments
Open

Repeated Kind is OK, but repeated Type is not #139

chaudhuri opened this issue Jun 23, 2022 · 0 comments
Assignees

Comments

@chaudhuri
Copy link
Member

As of 5bb9833, Kind declarations can be repeated with no warnings or errors.

Kind n type.
Kind n type. % no issues

However, Type declarations cannot be repeated.

Type z n.
Type z n.

Error: Predicate or constant z already exists

Seems like an unintended discrepancy. Should perhaps be fixed by allowing redeclarations of Types as well.

(Issue spotted in discussion with @innofarah.)

@chaudhuri chaudhuri self-assigned this Jun 23, 2022
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