[GHC] #8312: Annotations in a compiler without interpreter needs a better error message

GHC ghc-devs at haskell.org
Wed Nov 6 16:38:38 UTC 2013


#8312: Annotations in a compiler without interpreter needs a better error message
-------------------------------+---------------------------
        Reporter:  ablackmore  |            Owner:
            Type:  task        |           Status:  closed
        Priority:  normal      |        Milestone:
       Component:  Compiler    |          Version:  7.6.2
      Resolution:  fixed       |         Keywords:
Operating System:  Linux       |     Architecture:  arm
 Type of failure:  Other       |       Difficulty:  Unknown
       Test Case:              |       Blocked By:
        Blocking:              |  Related Tickets:
-------------------------------+---------------------------
Changes (by simonpj):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I have at least eliminated the panic:
 {{{
 T8312.hs:6:1:
     A annotation requires GHC with interpreter support: True
     Perhaps you are using a stage-1 compiler?
     In the annotation: {-# ANN g True #-}

 }}}
 I'm not sure it's worth a test case, and I don't know how to construct a
 test that uses the stage1 compiler.

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


More information about the ghc-tickets mailing list