Skip to content
  • Simon Peyton Jones's avatar
    Fix Trac #7237; mixup with empty tuples · 84bb8541
    Simon Peyton Jones authored
    When converting from Core to STG, we swith pattern matching on
    on a *nullary* unboxed tuple into matching using a PrimAlt on RealWorld#
       case e (RealWorld#) of { DEFAULT -> ... }
    This semms messy to me, but it works.  There was a bug in that we were
    changing to PrimAlt, but not using a DEFAULT AltCon.
    84bb8541