Fix #1476 by making splice patterns work.
authorRichard Eisenberg <eir@cis.upenn.edu>
Tue, 4 Nov 2014 16:34:53 +0000 (11:34 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 21 Nov 2014 16:15:47 +0000 (11:15 -0500)
commit2346de44330a4309b840e26ddd1ded23f92c6f81
treea0d7ada84611107c984398221f0977e88b811565
parentd627c5cf81fcce05ec160edc5be907297ff05c33
Fix #1476 by making splice patterns work.

Unfortunately, splice patterns in brackets still do not work
because we don't run splices in brackets. Without running a pattern
splice, we can't know what variables it binds, so we're stuck.

This is still a substantial improvement, and it may be the best
we can do. Still must document new behavior.
compiler/rename/RnPat.lhs
compiler/rename/RnSplice.lhs
compiler/rename/RnSplice.lhs-boot
testsuite/tests/th/all.T