Fix #11401.
authorRichard Eisenberg <eir@cis.upenn.edu>
Tue, 23 Feb 2016 03:15:44 +0000 (22:15 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 15 Mar 2016 01:44:17 +0000 (21:44 -0400)
commit35d37ff8a0bb9f64f347c8e4b6a24d49fd08c9dc
treec4403577897b08b7a0245d6860c5a32dcb802a86
parent84c773e1bc5c551b0f922c6fe9c70762d184a394
Fix #11401.

This commit teaches shortCutReduction about Derived constraints.

[skip ci]
compiler/typecheck/TcInteract.hs
testsuite/tests/typecheck/should_compile/T11401.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T