[project @ 1997-08-25 21:53:50 by sof]
[ghc-hetmet.git] / ghc / compiler / reader / ReadPrefix.lhs
index aeab16a..4b185e1 100644 (file)
@@ -316,7 +316,7 @@ wlkExpr expr
       U_record con rbinds -> -- record construction
        wlkDataId  con          `thenUgn` \ rcon     ->
        wlkList rdRbind rbinds  `thenUgn` \ recbinds ->
-       returnUgn (RecordCon (HsVar rcon) recbinds)
+       returnUgn (RecordCon rcon recbinds)
 
       U_rupdate updexp updbinds -> -- record update
        wlkExpr updexp           `thenUgn` \ aexp ->