• Simon Peyton Jones's avatar
    Preserve join-point arity in CoreOpt · d4cc74f1
    Simon Peyton Jones authored
    Trac #15108 showed that the simple optimiser in CoreOpt
    was accidentally eta-reducing a join point, so it didn't meet
    its arity invariant.
    
    This patch fixes it.  See Note [Preserve join-binding arity].
    d4cc74f1
CoreOpt.hs 43.4 KB