Wibble to fix of Trac #5439: deal with the error-recovery case
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 1 Sep 2011 14:54:39 +0000 (15:54 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 1 Sep 2011 14:54:39 +0000 (15:54 +0100)
commitb5b4aae437bba8c93bbe29e3678debceeb3f076e
tree1b72065fc5e37976c761de93bb723d1e61c81cd1
parentfa71e6c795489ec267e0d048395c2c52bea6a164
Wibble to fix of Trac #5439: deal with the error-recovery case

Even if we are recovering from a typecheck error, we should still do
the right thing for the "closed" flag.  Otherwise we get an assert
failure, and potentially different behaviour when the user fixes
the original type error.
compiler/typecheck/TcBinds.lhs