Fix Trac #5475: another bug in exprArity
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.
Please register or sign in to comment