Put the decision of when a unification variable can unify with a polytype
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 21 Nov 2014 10:59:49 +0000 (10:59 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 21 Nov 2014 11:35:24 +0000 (11:35 +0000)
commit073119e8e3eff54e64e2f89aa3a00dcf87b36ded
tree8f1996ecf4fc7e0fc02d87f61445d8b5abb9dada
parentb6855422fd532e5988fc98764c5cc47acbefbfb8
Put the decision of when a unification variable can unify with a polytype

This was being doing independently in two places. Now it's done in one
place, TcType.canUnifyWithPolyType
compiler/typecheck/TcType.lhs
compiler/typecheck/TcUnify.lhs