Fix Trac #3600: Template Haskell bug in Convert
authorsimonpj@microsoft.com <unknown>
Tue, 20 Oct 2009 07:26:16 +0000 (07:26 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 20 Oct 2009 07:26:16 +0000 (07:26 +0000)
commitfb02349ca1daf3eaedeff076bf7cedb5923b82f7
tree6a2b73db0f3425e9cb67965aba06a55250a58c12
parentf84a0b7028424ea167658c06e75e871198371f00
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.
compiler/hsSyn/Convert.lhs