#4268: Annotation extension needs a flag
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty: Easy (less than 1 hour)
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Other
---------------------------------+------------------------------------------
Comment(by igloo):
Annotations are pragmas, which we haven't historically had extensions for.
Some options:
* Do nothing.
* Ignore (but warn about) `ANN` pragmas if `TemplateHaskell` is off (I
infer from the docs that they rely on TH). If they are a well-behaved
pragma then ignoring them won't affect the correctness of the code.
* Add an extension for annotations.
* Add an extension for each pragma GHC knows about.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4268#comment:2>
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