-
Notifications
You must be signed in to change notification settings - Fork 175
unused values should probably be a warning, not an error #4
Comments
Colors dependes on your environment. In my environment, "gray" is used. I don't configure colors at all. I created unused variables and typing "M-?" results in "warning", not "error". If unused variables are categorized to "error" in your environment, please give me example code. |
gives
|
I don't understand your point, sorry. This result seems natural to me. What is your problem? |
I'm trying to work out what the error is - it says "Line 2: 1 error, 2 warnings", but there are only two warnings listed, no errors. |
Three warnings, I mean:) but no errors. |
OK. I understand. |
really? But I don't have any records in that test program... |
Really? What's version of GHC? I'm using GHC 6.12.1. |
I'm using 6.12.1 too. The output from ghc-mod actually looks reasonable, I think it's just getting processed somewhere in the elisp.
because there is no Main module. |
This bug is relating to "browse" not "check". |
In my environment, 3 warnings are displayed... |
right, this looks great now. THanks! |
if you're developing bottom up, it's very distracting to see it flash red for variables you're not yet using. A warning is fine, but it shouldn't be an outright error.
The text was updated successfully, but these errors were encountered: