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

Remove the nil type from the parser #214

Closed
joey-coleman opened this issue Nov 22, 2013 · 0 comments
Closed

Remove the nil type from the parser #214

joey-coleman opened this issue Nov 22, 2013 · 0 comments
Assignees
Labels
duplicate Mergable A fix is available on a branch to merge for release
Milestone

Comments

@joey-coleman
Copy link
Member

There was a problem with the type parser such that the token nil would be accepted as a type, and give the same result as (). So you could declare a function signature to be f: nil -> bool.

This is not legal and the change removes the error.

(originally filed by @nickbattle, moved by me when issues were re-created)

@ghost ghost self-assigned this Nov 22, 2013
@ghost ghost assigned nickbattle Jan 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Mergable A fix is available on a branch to merge for release
Projects
None yet
Development

No branches or pull requests

2 participants