#5273: error and undefined should print a location
---------------------------------+------------------------------------------
Reporter: augustss | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 7.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
The Control.Exception.assert function has a very nice hack so it prints a
location together with the message. Could we please have that feature for
'error' and 'undefined' as well?
I just had the case where in one of 83 installed packages some idiot has
an error message that just says 'dataTypeConstrs', which makes it very
tedious to figure out what to fix. Yes, I can recompile everything for
profiling, but that takes another two hours, which is why I'd prefer
location information. (BTW, hbc had location info for those.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5273>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs