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

Invalid type application breaks statics throwing exception #1459

Open
7h3kk1d opened this issue Jan 10, 2025 · 0 comments
Open

Invalid type application breaks statics throwing exception #1459

7h3kk1d opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
bug critical critical bug

Comments

@7h3kk1d
Copy link
Contributor

7h3kk1d commented Jan 10, 2025

Screenshot From 2025-01-10 10-45-49
Trying to write this expression with an invalid type Int(7) or Int(Float) throws an exception as soon as you try to assign it a value.

This triggers a statics exception (Failure "type application in dynamics")

type x = Int(Float) in let y : x =  1

This alone triggers an exception (Failure "type application in dynamics") in dynamics:

type x = Int(Float) in let y : x
@7h3kk1d 7h3kk1d added the bug label Jan 10, 2025
@cyrus- cyrus- added the critical critical bug label Jan 12, 2025
@cyrus- cyrus- moved this to Team Statics in Hazel Big Board Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical critical bug
Projects
Status: Team Statics
Development

No branches or pull requests

3 participants