#3600: Template Haskell mis-coverting empty list to empty string
---------------------------------+------------------------------------------
Reporter: simonpj | Owner: igloo
Type: merge | Status: new
Priority: normal | Milestone: 6.12.1
Component: Template Haskell | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: th/T3600 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by simonpj):
* testcase: => th/T3600
* owner: => igloo
* type: bug => merge
* cc: [email protected] (added)
Comment:
Fixed by
{{{
Tue Oct 20 00:26:16 PDT 2009 [email protected]
* Fix Trac #3600: Template Haskell bug in Convert
This bug was introduced when I added an optimisation, described in
Note [Converting strings] in Convert.lhs. It was treating *all*
empty lists as strings, not just string-typed ones!
The fix is easy. Pls MERGE to stable branch.
M ./compiler/hsSyn/Convert.lhs -4 +10
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3600#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