[project @ 1997-08-25 22:27:30 by sof]
authorsof <unknown>
Mon, 25 Aug 1997 22:27:30 +0000 (22:27 +0000)
committersof <unknown>
Mon, 25 Aug 1997 22:27:30 +0000 (22:27 +0000)
Updated to reflect RecordCon change

ghc/compiler/rename/RnExpr.lhs

index ad7d404..f7a25f6 100644 (file)
@@ -349,10 +349,10 @@ rnExpr (ExplicitTuple exps)
     rnExprs exps                                       `thenRn` \ (exps', fvExps) ->
     returnRn (ExplicitTuple exps', fvExps)
 
-rnExpr (RecordCon (HsVar con) rbinds)
+rnExpr (RecordCon con rbinds)
   = lookupOccRn con                    `thenRn` \ conname ->
     rnRbinds "construction" rbinds     `thenRn` \ (rbinds', fvRbinds) ->
-    returnRn (RecordCon (HsVar conname) rbinds', fvRbinds)
+    returnRn (RecordCon conname rbinds', fvRbinds)
 
 rnExpr (RecordUpd expr rbinds)
   = rnExpr expr                        `thenRn` \ (expr', fvExpr) ->