[GHC] #4268: Warning for ANN pragmas when GHCi is not supported

GHC ghc-devs at haskell.org
Tue Nov 12 15:07:25 UTC 2013


#4268: Warning for ANN pragmas when GHCi is not supported
-------------------------------+-------------------------------------------
        Reporter:  simonmar    |            Owner:
            Type:  bug         |           Status:  new
        Priority:  high        |        Milestone:  7.8.1
       Component:  Compiler    |          Version:  7.0.4
      Resolution:              |         Keywords:
Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple             |       Difficulty:  Easy (less than 1 hour)
 Type of failure:  Other       |       Blocked By:
       Test Case:              |  Related Tickets:  #8312, #5105
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"6c1aba4ff27371fddfc0dce5f9256c97edf16eea/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6c1aba4ff27371fddfc0dce5f9256c97edf16eea"
 Warn if you use ANN annotations with a stage-1 compiler (Trac #4268)

 This makes us give a civilised warning when we hit an
   {-# ANN f foo #-}
 pragma in a stage-1 compiler.

 We decided that, since it's a pragma, it does not need a language
 extension flag to enable it.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4268#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list