#2631: Template Haskell weird error message
------------------------------+---------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Template Haskell | Version: 6.9
Severity: normal | Resolution: duplicate
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Unknown/Multiple |
------------------------------+---------------------------------------------
Changes (by simonpj):
* status: new => closed
* difficulty: => Unknown
* resolution: => duplicate
Comment:
Happily this is a different manifestation of #2597, and already fixed.
The error message is now
{{{
T2631.hs:4:12:
Empty stmt list in do-block
When splicing generated code into the program
When splicing TH expression: CompE []
In the expression: $(return $ CompE [])
In the definition of `main': main _ = $(return $ CompE [])
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2631#comment:3>
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