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

predefined identifiers can be redefined #36

Open
tinelli opened this issue Jun 19, 2020 · 0 comments
Open

predefined identifiers can be redefined #36

tinelli opened this issue Jun 19, 2020 · 0 comments
Assignees

Comments

@tinelli
Copy link
Member

tinelli commented Jun 19, 2020

This signature is legal:

(declare A type)
(define type A)
(declare a A)
(check (: type a ))

Being able to redefine type seems dangerous. It can lead to confusing error messages later. The same applies to mpz and mpq.

@ajreynol ajreynol self-assigned this Mar 17, 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

2 participants