#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):
An even better example:
{{{
module Foo where
import Language.Haskell.TH
foo :: Q Exp
foo = do
x <- [| (>>=) |]
return x
foo2 :: Q Exp
foo2 = [| (>>=) |]
}}}
Here, foo generates an absent arg, and foo2 is fine. Craaaaazy.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4181#comment:1>
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