Fix Trac #1755; check for stage errors in TH quoted Names
authorsimonpj@microsoft.com <unknown>
Wed, 10 Oct 2007 15:02:50 +0000 (15:02 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 10 Oct 2007 15:02:50 +0000 (15:02 +0000)
commitf4fe9286b499aa991fa5b2ce20f0163966af4b58
tree5a7c0db579e9b929693cd8b07d38638addf181ed
parent2eeaaa6f9eb206ad3473c151556629a2e2624f78
Fix Trac #1755; check for stage errors in TH quoted Names

There are a number of situations in which you aren't allowed to use
a quoted Name in a TH program, such as
\x -> 'x
But we weren't checking for that!  Now we are.

Merge to stable branch.

Test is TH_qname.
compiler/typecheck/TcSplice.lhs