-
Notifications
You must be signed in to change notification settings - Fork 347
GHC case change for warning breaks haskell-mode check #1513
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
Comments
This seems to be the commit they did it in (or at least some of their test-cases started to use the lower-case variant). |
Gods are whimsical and erratic and we were almost prepared: #1168. |
Deeper research using a grep for "arning" in *.el files. Relevant finds:
Proposal: I go ahead and introduce |
Yes, good enough! Go ahead! |
As of 8.0.2, GHC is now issuing warnings with a lower-case 'w':
As a result, tools are not recognizing this and flagging things as errors or worse. Here's relevant results from a grep:
For
string-match
, using[Ww]
fixes the issue and is presumably backward-compatible. Ie for line 521:works with my GHC 8.0.2 environment.
string-prefix-p
would need a better fix. I can't comment on the other placesstring-match
is in use so I would request someone more familiar with this codebase make the fix.NB: Why in [deity]'s name did they change the case in 8.0.2????? Do the haskell gods just enjoy breaking tools, because the GHC8 upgrade wasn't painful enough???
The text was updated successfully, but these errors were encountered: