Files
swift-mirror/lib/AST/Module.cpp
Slava Pestov c28529315b AST: Tweak conformance lookup for class-constrained archetypes
The comment explains the situation; now that we drop protocol
conformance requirements that are made redundant by a superclass
requirement, we necessarily have to prefer returning a concrete
conformance here rather than an abstract one, because an
abstract one will not be fulfilled by a substitution that
makes the archetype concrete, since there's no explicit
conformance requirement to fulfill.
2016-09-06 11:51:12 -07:00

53 KiB