-
Notifications
You must be signed in to change notification settings - Fork 37
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
Non-exaustive Pattern Match #90
Comments
This isn't technically a non-exhaustive pattern, it's syntax sugar for MonadFail. |
Good point, so is this something that should be fixed on hie-wrapper's end then? |
I suppose at the very least the error handling here could be better. |
Looks like there is a non-exhaustive pattern match here:
https://github.com/DanielG/cabal-helper/blob/master/lib/Distribution/Helper.hs#L603
This is causing the following error for me using HIE through the Haskell Language Server extension in vscode:
hie-wrapper: user error (Pattern match failure in do expression at lib\Distribution\Helper.hs:603:7-22)
The error is preceeded by the following, which might be the cause of an empty list.
Full HIE log:
I realize that this issue might stem from HIE, but I wanted to make you aware of the ungraceful exit due to the failed pattern matching.
The text was updated successfully, but these errors were encountered: