Fix a terrible bug in the canonicaliser which led to an infinite loop
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 16 Jan 2015 14:18:34 +0000 (14:18 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 16 Jan 2015 14:18:34 +0000 (14:18 +0000)
commit854e7b8efdd7fe5fcba77e1e049e8a835f03b16a
treeeb44196fb3407a5c20d072ac69c311b4e8ac727c
parentfb7c311711c8851d0de1e40231150ad999ae9c2b
Fix a terrible bug in the canonicaliser which led to an infinite loop

This fixes Trac #9971

Merge into the 7.10 branch
compiler/typecheck/TcCanonical.hs
testsuite/tests/typecheck/should_compile/T9971.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T