Skip to content
  • Simon Peyton Jones's avatar
    Fix dependency information for RULES · 59a4ad63
    Simon Peyton Jones authored
    A SpecInfo (inside IdInfo) keeps track of the free variables of a RULE
    so that the occurrency analyser knows about its dependencies.
    
    Previously it was only tracking the *rhs* free vars, but it should
    really include the *lhs* ones too.  See Note [Rule dependency info]
    in IdInfo.
    
    This fixes a WARNING when compiling some libraries.
    59a4ad63