[project @ 2002-11-05 09:01:10 by simonpj]
authorsimonpj <unknown>
Tue, 5 Nov 2002 09:01:10 +0000 (09:01 +0000)
committersimonpj <unknown>
Tue, 5 Nov 2002 09:01:10 +0000 (09:01 +0000)
Wibble when renaming splices

ghc/compiler/rename/RnExpr.lhs

index e67f32e..97697a0 100644 (file)
@@ -241,7 +241,8 @@ rnExpr (HsSplice n e loc)
     checkGHCI (thErr "splice")         `thenM_`
     newLocalsRn [(n,loc)]              `thenM` \ [n'] ->
     rnExpr e                           `thenM` \ (e', fvs_e) ->
-    returnM (HsSplice n' e' loc, fvs_e)    
+    returnM (HsSplice n' e' loc, fvs_e `addOneFV` qTyConName)
+       -- The qTyCon brutally pulls in all the meta stuff
 
 rnExpr (HsReify (Reify flavour name))
   = checkGHCI (thErr "reify")          `thenM_`