Look inside synonyms for foralls when unifying
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 7 Apr 2015 13:45:04 +0000 (14:45 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 7 Apr 2015 14:10:48 +0000 (15:10 +0100)
commit553c5182156c5e4c15e3bd1c17c6d83a95a6c408
treefe460f21ee97c6497651f608d7e7ae924572b525
parent8b7ceece52d2a0bb8a4ea5609da286fb76d88211
Look inside synonyms for foralls when unifying

This fixes Trac #10194
compiler/typecheck/TcType.hs
compiler/typecheck/TcUnify.hs
testsuite/tests/typecheck/should_fail/T10194.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T10194.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T