#3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-}
pragmas/extensions
--------------------------------+-------------------------------------------
Reporter: eflister | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.10.4
Resolution: | Keywords: language pragma extensions
error message warning
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
--------------------------------+-------------------------------------------
Changes (by eflister):
* status: closed => reopened
* resolution: wontfix =>
Comment:
Replying to [comment:4 igloo]:
you could still fix the error message. from OP:
the ghc error message indicating that an extension should be added should
print out a message that would make for easy cut and paste without
modification into *either* one's language pragma or command line -X
extension args.
what about accepting -Extension flags (without the X) at the command line?
how is that X helping anyone?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3647#comment:5>
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