#1628: warning(s) for using stolen syntax that's not currently enabled
--------------------------------+-------------------------------------------
Reporter: Isaac Dupree | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
--------------------------------+-------------------------------------------
Comment (by Isaac Dupree):
Okay, so our extension-flags are saner now (meaning, in HEAD/6.8). I
think Christian Maeder wanted all (at least lexer) extension-syntax to
become mandated by haskell-prime in order to ensure consistency... which
seems a bit harsh and unworkable to me... But, I still think some people
would find it valuable to (be able to) avoid using certain extension-
syntax, so that those extensions (such as `-XTemplateHaskell`) can be
turned on and used with that code, without also having to make minor
changes to that code (encouraging code sharing). (Checking this by always
turning on the extension would (depending on build-system) make it more
difficult to compile the code without the extension on, and equally risk
being inconsistent with not-using that extension.).
If there isn't a consensus for extension-syntax being that important,
maybe not in `-Wall`, but I know some people (possibly me) _would_ want to
use this warning. (and this is just a "feature request")
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1628>
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