mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove error path that was causing crashes
This commit is contained in:
@@ -817,11 +817,6 @@ Module::lookupConformance(Type type, ProtocolDecl *protocol,
|
||||
// the specialized conformance.
|
||||
auto substitutions = type->gatherAllSubstitutions(this, resolver,
|
||||
explicitConformanceDC);
|
||||
|
||||
for (auto sub : substitutions) {
|
||||
if (sub.getReplacement()->hasError())
|
||||
return None;
|
||||
}
|
||||
|
||||
// Create the specialized conformance entry.
|
||||
auto result = ctx.getSpecializedConformance(type, conformance,
|
||||
|
||||
Reference in New Issue
Block a user