[GHC] #10945: Typed Template Haskell splices broken in HEAD (7.11)
GHC
ghc-devs at haskell.org
Thu Oct 8 16:39:36 UTC 2015
#10945: Typed Template Haskell splices broken in HEAD (7.11)
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: new
Priority: high | Milestone: 8.0.1
Component: Template Haskell | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case: th/T10945
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
-------------------------------------+-------------------------------------
Comment (by goldfire):
Obviously we shouldn't panic, but the code above looks utterly bogus, for
two reasons:
1. According to my understanding, typed splices only work for expressions
-- no other contexts allowed.
2. The contents of a typed splice (of type `a`) must be `Q (TExp a)`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10945#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list