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

GHC cvs-ghc at haskell.org
Thu Jul 8 16:49:25 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):

 Generates an absent arg in the Core, again:

 {{{
 module Foo where

 import Language.Haskell.TH

 foo :: Q ()
 foo = return (TupE []) >>= const (return ())
 }}}

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


More information about the Glasgow-haskell-bugs mailing list