[project @ 2005-08-12 10:45:36 by simonmar]
[ghc-hetmet.git] / ghc / compiler / basicTypes / IdInfo.lhs
index 5797436..bead44f 100644 (file)
@@ -678,8 +678,8 @@ zapLamInfo info@(IdInfo {occInfo = occ, newDemandInfo = demand})
     is_safe_occ other              = True
 
     safe_occ = case occ of
-                OneOcc _ once min_args -> OneOcc insideLam once min_args
-                other                  -> occ
+                OneOcc _ once int_cxt -> OneOcc insideLam once int_cxt
+                other                 -> occ
 
     is_safe_dmd Nothing    = True
     is_safe_dmd (Just dmd) = not (isStrictDmd dmd)