Commit Graph

1 Commits

Author SHA1 Message Date
Pavel Yaskevich
28a66a23eb [CSSimplify] Delay binding metatype instance types if one side is type variable
While matching two metatypes where one side is a class (which could have
supertypes) and another is a type variable use `subtype` constraint to
delay binding types together because there is a real possibility that
there exists a superclass associated with yet free type variable which
would be a better match when attempted.

Resolves: rdar://problem/44816848
2018-11-27 14:36:46 -08:00