-
Notifications
You must be signed in to change notification settings - Fork 195
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
let with no bindings in do notation causes parse error #368
Comments
Thanks for the report. I've raised it as an issue in the underlying haskell-src-exts parser at haskell-suite/haskell-src-exts#373. |
I hope this is a useful place to add my experience with
The error is present with hlint versions as recent as 2.1.8 |
Thanks @EdmundsEcho - probably a bug in the underlying parser HLint uses. I'll raise upstream. |
@EdmundsEcho actually an entirely different problem. You don't have |
@EdmundsEcho you also have to enable TypeApplications as well. |
@ndmitchell thank you for the follow-up. I tested out your idea. When I run:
I get the following: I have the
|
No, it does not parse things from the |
Understood re parsing the stack config file. If you defined a specific task to implement the feature, I would be willing to help implement the code if you like. - E |
Task #479 is to implement the feature. I've added some notes to that ticket about how I envisaged it being implemented (but I'm not overly wedded to it). |
Confirmed works with HEAD that doesn't use HSE for parsing, so fixed in the next release. |
It's weird, but apparently valid according to GHC.
The text was updated successfully, but these errors were encountered: