Skip to content
  • Simon Peyton Jones's avatar
    Kill inaccessible-branch complaints in record update · 3cfef763
    Simon Peyton Jones authored
    Trac #12957 (the original case in the Description) showed a record
    update that yielded an "inaccessible code" warning. This should not
    happen; it's just some redundant code generated by the desugarer (later
    pruned away) and it's not the user's fault.
    
    This patch suppresses the warning.  See Check.hs
    Note [Inaccessible warnings for record updates]
    3cfef763