#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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to