[project @ 2005-07-12 16:30:01 by simonpj]
authorsimonpj <unknown>
Tue, 12 Jul 2005 16:30:01 +0000 (16:30 +0000)
committersimonpj <unknown>
Tue, 12 Jul 2005 16:30:01 +0000 (16:30 +0000)
commitc85025611e6f039e38912b3342242a5653569b7c
treebb2d6e9b443b98dbdc75072543ea5fc9e249b200
parent867dacda4fc5b0a2a199820cc7db49d0262f6dc7
[project @ 2005-07-12 16:30:01 by simonpj]
Try MERGE to STABLE

When TH splices in code, it was previously decorated with noLoc.  If
there were any type errors in it, we got a very unhelpful message.

Now we propagate the splice location everywhere into the spliced code.
The location isn't very exact, because it refers to the splice site,
but it's better than before.
ghc/compiler/hsSyn/Convert.lhs
ghc/compiler/typecheck/TcSplice.lhs