Closed maxsnew closed 1 year ago
Bug confirmed. The cause was that the type validation in type annotations were not recursive. Say we've got an A
type, if it's a type variable syntactically, we would check; but if it's Thunk(B)
, we would just let it pass.
Addressed in 7b72cae25b953e6ace61c67ff36885ca3a7c365c.
Fixed on main.
Expected:
Unbound type variable Foo
What I get: runs fine.