-
Notifications
You must be signed in to change notification settings - Fork 126
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
Naked type application panics #962
Comments
Weird! Why does that even parse? |
I think it's one of these strange cases where the parser makes `{ stuff } an expression form and fixes it up later to avoid LALR limitations. The |
It seems like whatever post-processing pass we do over the parser AST that deals with
Cryptol also is happy to have multiple adjacent type applications, possibly with some of them empty; the effect is like all the applications are appended together:
I think it would be reasonable to forbid stacked type applications, as you can always just combine them into one like |
I unassigned myself for the moment, as I am working on a different part of the code. I'll revisit this if no one else has picked it up in the mean time. |
I got confused with the notation for demonting types and wrote a type application instead, which caused a panic:
The text was updated successfully, but these errors were encountered: