Fix Trac #5130: missed error report
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 20 Apr 2011 16:28:00 +0000 (17:28 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 20 Apr 2011 16:28:00 +0000 (17:28 +0100)
commit2b6ba11cee81436aeed0ddab8ce5f53d51a349a9
tree1ff6b84a8d7249c03e24a4e8a8a2cc40d316cccd
parentfa7b383da0665fbb9c4a102507b16b02d1b3b77b
Fix Trac #5130: missed error report

Some out of date code in TcErrors was suppressing an error
report -- so some type-incorrect code leaked out and confused
a later bit of the compiler.
compiler/typecheck/TcErrors.lhs