[project @ 2006-01-09 14:32:57 by simonmar]
authorsimonmar <unknown>
Mon, 9 Jan 2006 14:32:57 +0000 (14:32 +0000)
committersimonmar <unknown>
Mon, 9 Jan 2006 14:32:57 +0000 (14:32 +0000)
Put a dummy record initialisation in to fix a warning

ghc/compiler/hsSyn/HsDecls.lhs

index 5253d11..8c23d48 100644 (file)
@@ -110,7 +110,8 @@ emptyRnGroup  = emptyGroup { hs_valds = emptyValBindsOut }
 
 emptyGroup = HsGroup { hs_tyclds = [], hs_instds = [],
                       hs_fixds = [], hs_defds = [], hs_fords = [], 
-                      hs_depds = [] ,hs_ruleds = [] }
+                      hs_depds = [], hs_ruleds = [],
+                      hs_valds = error "emptyGroup hs_valds: Can't happen" }
 
 appendGroups :: HsGroup a -> HsGroup a -> HsGroup a
 appendGroups