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
If in do issues #386
Comments
Both of these can be fixed by indenting the
|
I've managed to trigger the compiler crash with the same error as @garyb (using 0.6.9.5):
I believe it was code like this that triggered it: ... $ \a -> do
if a then do
...
else do
... I fixed the problem by removing that first unnecessary |
Possibly related: the same compiler error ( |
The impossible happened in desugarDo:
Let statement cannot be the last statement in a do block:
The text was updated successfully, but these errors were encountered: