-
Notifications
You must be signed in to change notification settings - Fork 123
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
Panic: type variable not bound #534
Comments
Here's the output when you turn on debugging:
|
Here's another variant where the panic doesn't happen right away:
|
Actually, the binding doesn't even need to be recursive. The problem is really with all top-level pattern bindings, if some the types are not inferred (i.e. could be generalized). For example:
I know what's wrong here, so I'll have a go at fixing it. |
Reopening, as there is another issue related to rechursive bindings. I am working on fixing it |
A recursive declaration with a pattern binding causes Cryptol to panic. The same thing happens with
let
at the repl, or putting(x, y) = (y, x)
in a file.The text was updated successfully, but these errors were encountered: