[GHC] #3647: unify handling and error messages for -X vs.
{-#LANGUAGE ...#-} pragmas/extensions
GHC
trac at galois.com
Mon Nov 9 13:29:44 EST 2009
#3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-}
pragmas/extensions
--------------------------------------------------------------+-------------
Reporter: eflister | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.10.4
Severity: trivial | Resolution:
Keywords: language pragma extensions error message warning | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
--------------------------------------------------------------+-------------
Comment (by eflister):
not to be annoying, but i don't understand why it's not ok for ghc to
accept (with a warning) a SUPERSET of the official syntax. that doesn't
change the standard and it doesn't imply that any other compiler has to do
anything different. a warning would be the best user interaction -- "i
know what you meant to say, and i'm doing it, you should just know that
what you said isn't portable, and here's how to fix it. would you like me
to fix it for you?"
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3647#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list