#7445: template-haskell : need a good error message instead of just an 
unexplained
panic
-------------------------------+--------------------------------------------
Reporter:  erikd               |          Owner:                  
    Type:  bug                 |         Status:  new             
Priority:  normal              |      Component:  Template Haskell
 Version:  7.7                 |       Keywords:                  
      Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
 Failure:  Compile-time crash  |      Blockedby:                  
Blocking:                      |        Related:                  
-------------------------------+--------------------------------------------

Comment(by erikd):

 Hmm, this works:

 {{{
 module QuasiArith
     ( Expr (..)
     , BinOp (..)
     , eval
     , expr
     ) where
 }}}

 Problem seems to have been that type Expr and BinOp were not exported.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to