X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FdeSugar%2FCoverage.lhs;h=976b47f72ef94dc4971ff0a3c6b968242e41415c;hp=54304f7d7c61be4c98eb3be7a664f3dbb01073ba;hb=6a05ec5ef5373f61b7f9f5bdc344483417fa801b;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf diff --git a/compiler/deSugar/Coverage.lhs b/compiler/deSugar/Coverage.lhs index 54304f7..976b47f 100644 --- a/compiler/deSugar/Coverage.lhs +++ b/compiler/deSugar/Coverage.lhs @@ -5,11 +5,11 @@ \section[Coverage]{@coverage@: the main function} \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -w #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module Coverage (addCoverageTicksToBinds) where @@ -637,7 +637,7 @@ bindLocals :: [Id] -> TM a -> TM a bindLocals new_ids (TM m) = TM $ \ env st -> case m env{ inScope = inScope env `extendVarSetList` new_ids } st of - (r, fv, st') -> (r, fv `delListFromUFM` occs, st') + (r, fv, st') -> (r, fv `delListFromOccEnv` occs, st') where occs = [ nameOccName (idName id) | id <- new_ids ] isBlackListed :: SrcSpan -> TM Bool