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

undefined type aliases not raising errors #77

Open
kevinclancy opened this issue May 15, 2016 · 1 comment
Open

undefined type aliases not raising errors #77

kevinclancy opened this issue May 15, 2016 · 1 comment

Comments

@kevinclancy
Copy link

Running tlc on the following code generates no errors.

interface Test
  x : snuffleupagus
end
@mascarenhas
Copy link
Collaborator

Resolution of references to global type aliases inside interfaces is lazy, so we can have mutually recursive interfaces. There should probably be a pass that checks all exported types of a module for dangling references.

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