[GHC] #5919: Wrong error message for TH when GHCi is not enabled

GHC cvs-ghc at haskell.org
Fri Mar 16 15:59:52 CET 2012


#5919: Wrong error message for TH when GHCi is not enabled
------------------------------------------------+---------------------------
  Reporter:  duncan                             |          Owner:                  
      Type:  bug                                |         Status:  closed          
  Priority:  normal                             |      Milestone:                  
 Component:  Compiler                           |        Version:  7.0.4           
Resolution:  fixed                              |       Keywords:                  
        Os:  Unknown/Multiple                   |   Architecture:  Unknown/Multiple
   Failure:  Incorrect warning at compile-time  |     Difficulty:  Unknown         
  Testcase:                                     |      Blockedby:                  
  Blocking:                                     |        Related:                  
------------------------------------------------+---------------------------
Changes (by simonpj):

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


Comment:

 Error message now says
 {{{
 Foo.hs:5:5:
     Template Haskell bracket requires GHC with interpreter support
     Perhaps you are using a stage-1 compiler?
       [| 1 + 3 |]
 }}}
 I'm not going to add a test.

 simon

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



More information about the Glasgow-haskell-bugs mailing list