Fix ASSERT failure in TcErrors
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 29 Mar 2017 13:57:21 +0000 (14:57 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 29 Mar 2017 13:57:21 +0000 (14:57 +0100)
commitf88ac374c5cb150d4f172fb40be338d2112a0600
tree140ebe81a31e8d7070865e1766f4bbaaa0acc9d4
parent60d338f50992ddd932cbdd47587ef495a1ab8d21
Fix ASSERT failure in TcErrors

This fixes Trac #13494, by improving

   commit e0ad55f894a8d85dcc099c33c63cfe3d4515d464
   Author: Simon Peyton Jones <simonpj@microsoft.com>
   Date:   Mon Mar 27 10:32:08 2017 +0100

   Fix error-message suppress on given equalities

which in turn was a fix to #13446
compiler/typecheck/TcErrors.hs
testsuite/tests/indexed-types/should_fail/T2627b.stderr
testsuite/tests/indexed-types/should_fail/T6123.stderr
testsuite/tests/indexed-types/should_fail/T7354.stderr