Fix a bug with inlining self-conformances.

This commit is contained in:
John McCall
2018-11-16 22:49:07 -05:00
parent 5c205b4573
commit cd2b558280
3 changed files with 65 additions and 53 deletions

View File

@@ -385,6 +385,11 @@ public:
Optional<ProtocolConformanceRef>
lookupConformance(Type type, ProtocolDecl *protocol);
/// Look for the conformance of the given existential type to the given
/// protocol.
Optional<ProtocolConformanceRef>
lookupExistentialConformance(Type type, ProtocolDecl *protocol);
/// Find a member named \p name in \p container that was declared in this
/// module.
///