[project @ 1999-05-10 13:13:18 by sof]
authorsof <unknown>
Mon, 10 May 1999 13:13:18 +0000 (13:13 +0000)
committersof <unknown>
Mon, 10 May 1999 13:13:18 +0000 (13:13 +0000)
yet another bugfix to the 'deriving Read' code

ghc/compiler/typecheck/TcGenDeriv.lhs

index bb27993..b043f7d 100644 (file)
@@ -847,7 +847,7 @@ gen_Read_binds fixities tycon
                                                as_needed bs_needed))
               | otherwise =
                  snd $
-                 mapAccumL mk_qual c_Expr
+                 mapAccumL mk_qual d_Expr
                        (zipEqual "bs_needed"        
                           ((str_qual "{":
                             concat (