• Simon Peyton Jones's avatar
    Fix Trac #5475: another bug in exprArity · b8abb31f
    Simon Peyton Jones authored
    As usual it was to do with the handling of bottoms,
    but this time it wasn't terribly subtle; I was using
    andArityType (which is designed for case branches) as
    a cheap short cut for the arity trimming needed with
    a cast.  That did the Wrong Thing for bottoming
    expressions.  Sigh.
    b8abb31f
CoreArity.lhs 28.5 KB