• Simon Peyton Jones's avatar
    Reject top-level banged bindings · af89d687
    Simon Peyton Jones authored
    Bizarrely, we were not rejecting
      !x = e
    * In the test in DsBinds.dsTopLHsBinds, use isBangedHsBind, not
      isBangedPatBind.  (Indeed the latter dies altogther.)
    * Implement isBangedHsBind in HsUtils;
      be sure to handle AbsBinds
    All this was shown up by Trac #13594
DsBinds.hs 54.5 KB