#5404: GHC 7.2.1 - Template Haskell Bug
---------------------------------+------------------------------------------
Reporter: awson | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Fresh GHC 7.2.1 cannot compile
{{{
{-# LANGUAGE TemplateHaskell #-}
module Foobar where
foobar :: Int
foobar = $([|
let
bar :: Int
bar = 5
in bar
|])
}}}
complaining that "The type signature for `bar' lacks an accompanying
binding".
Neither GHC 6.xx nor GHC 7.0.x had this bug.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5404>
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