[GHC] #4181: Template Haskell + -fdicts-strict fails

GHC cvs-ghc at haskell.org
Thu Jul 8 16:38:10 EDT 2010


#4181: Template Haskell + -fdicts-strict fails
---------------------------------+------------------------------------------
    Reporter:  LouisWasserman    |       Owner:                                    
        Type:  bug               |      Status:  new                               
    Priority:  normal            |   Component:  Compiler                          
     Version:  6.12.3            |    Keywords:  template haskell strict dictionary
          Os:  Unknown/Multiple  |    Testcase:                                    
Architecture:  Unknown/Multiple  |     Failure:  Compile-time crash                
---------------------------------+------------------------------------------

Comment(by LouisWasserman):

 {{{
 module Bar where

 import Foo
 import Language.Haskell.TH

 bar :: ()
 bar = $(do      x <- foo
                 x `seq` return (TupE []))
 }}}

 works as well, so it's not in the pretty-printing or anything.

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


More information about the Glasgow-haskell-bugs mailing list