Fix the data constructors for tuples etc that dataToExpQ builds
authorIan Lynagh <igloo@earth.li>
Wed, 8 Feb 2012 16:11:16 +0000 (16:11 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 8 Feb 2012 16:16:39 +0000 (16:16 +0000)
commitfdeb047bff236b7132c619e7e6ba1852166f0959
treeb6314ad5040e12ecceac4ccd1aeb49a350dba290
parenta711f138302b6d7ca043b67e8f0a907a560fcefb
Fix the data constructors for tuples etc that dataToExpQ builds

Conal Elliott reported that dataToExpQ built a different constructor
for () than [| () |]. This patch fixes that, and adds a regression test.
Language/Haskell/TH/Quote.hs
tests/Makefile [new file with mode: 0644]
tests/all.T [new file with mode: 0644]
tests/dataToExpQUnit.hs [new file with mode: 0644]
tests/dataToExpQUnit.stderr [new file with mode: 0644]