• Simon Peyton Jones's avatar
    Don't crash when pretty-printing bad joins · 07cc6039
    Simon Peyton Jones authored
    Trac #15108 showed that the Core pretty-printer would
    crash if it found a join-point binding with too few lambda
    on the RHS.  That is super-unhelpful!  Lint will find it,
    but pretty-printing should not crash.
    This patch just makes the pretty printer behave more robustly;
    it leaves the job of error reporting to Lint.
PprCore.hs 21.5 KB