• Simon Peyton Jones's avatar
    Do not eta-reduce across Ticks in CorePrep · 356e5e03
    Simon Peyton Jones authored
    The function tryEtaReducePrep was being over-ambitious.
    When Breakpoint ticks were involved (i.e. in GHCi), eta
    reduction left an out-of-scope variable in the Tick.
    
    Easily fixed. Fixes the original report in Trac #111728.
    356e5e03
CorePrep.hs 50.3 KB