Avoid unnecessary call to tcSubType
authorRichard Eisenberg <eir@cis.upenn.edu>
Wed, 29 Jul 2015 19:41:06 +0000 (15:41 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Wed, 29 Jul 2015 19:41:06 +0000 (15:41 -0400)
commitfff3d4388a14e45ae302df7d6368a0956fd34464
treeec6d4f9a84947d014c168bffb41090ed3b745ce4
parenta0453c12e878f402e594dd1b2459cac67e0ca10e
Avoid unnecessary call to tcSubType

The unnecessary call resulted in an unexpected ambiguity check.
compiler/deSugar/DsBinds.hs
compiler/typecheck/TcMatches.hs