#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 simonmar):
I think you're mistaken: `f x = id$x` means the same with -fglasgow-exts
as it does without. You need to turn on `-fth` (aka `-XTemplateHaskell`)
to break it.
GHC 6.8 now has separate flags for all extensions, so `-fglasgow-exts` is
deprecated. (or at least it probably should be). In the light of this, I
don't think it would be appropriate to issue a warning about syntax stolen
by an extension that you have explicitly requested with a command-line
flag.
--
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