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

Lack of checking of typedefs #2077

Open
sauclovian-g opened this issue Jul 18, 2024 · 0 comments
Open

Lack of checking of typedefs #2077

sauclovian-g opened this issue Jul 18, 2024 · 0 comments
Labels
bug needs test Issues for which we should add a regression test tech-debt

Comments

@sauclovian-g
Copy link
Contributor

saw lets me write this: typedef x = { foo: Int, bar: x }; and it seems like it probably shouldn't.

Also, you can introduce fresh universally-quantified type variables just by mentioning them: typedef x = a;, and that doesn't seem entirely desirable either.

I haven't been able to get it to do anything unsound with either of these even after prodding it for a while, but it's definitely possible I just haven't tried hard enough.

@sauclovian-g sauclovian-g added bug needs test Issues for which we should add a regression test tech-debt labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs test Issues for which we should add a regression test tech-debt
Projects
None yet
Development

No branches or pull requests

1 participant