#1065: The impossible happened (Template Haskell)
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: simonpj
Type: merge | Status: new
Priority: normal | Milestone: 6.6.1
Component: Template Haskell | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: TH_dataD1 | Architecture: Unknown
Os: Linux |
-------------------------------+--------------------------------------------
Changes (by simonpj):
* type: bug => merge
Comment:
I've fixed the crash. Now it fails tidily instead with
{{{
TH_dataD1.hs:8:12:
Declaration splices are not permitted inside declaration brackets
}}}
It's pretty tricky to lift this restriction, and I don't think it's
important enough to invest a lot of time in right now.
Simon
Please merge this:
Fri Mar 23 11:19:12 GMT 2007 [EMAIL PROTECTED]
* Emit a decent error message when there is a decl-splice inside a decl-
bracket
And please update the expected output in the test -- it's a "should-fail".
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1065>
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