Fix #8759 by not panicking with TH and patsyns.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sun, 9 Feb 2014 17:31:01 +0000 (12:31 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Sun, 9 Feb 2014 17:31:01 +0000 (12:31 -0500)
commit6122efcabe6e08375f69ee19148ba3838c332559
treefee38c7a92ab5918b3c9303cab2d6e21b32a4e29
parentd1dff94c9a82ffeff0bf92d0f90231a639ade59c
Fix #8759 by not panicking with TH and patsyns.

We should still have pattern synonyms in TH, though.
compiler/deSugar/DsMeta.hs
compiler/typecheck/TcSplice.lhs
testsuite/tests/th/T8759.hs [new file with mode: 0644]
testsuite/tests/th/T8759.stderr [new file with mode: 0644]
testsuite/tests/th/T8759a.hs [new file with mode: 0644]
testsuite/tests/th/T8759a.stderr [new file with mode: 0644]
testsuite/tests/th/all.T