Skip to content
  • Simon Peyton Jones's avatar
    Fix error recovery for pattern synonyms · 2896082e
    Simon Peyton Jones authored
    As Trac #15289 showed, we were carrying on after a type error
    in a pattern synonym, and then crashing.  This patch improves
    error handling for pattern synonyms.
    
    I also moved a bit of code from TcBinds into TcPatSyn, which
    helpfully narrows the API.
    2896082e