mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Remove Unused Module Parameter to Conformance Lookup
It's been quite a long time since this unused parameter was introduced. The intent is to produce the module as a root for the search - that is, computing the set of conformances visible from that module, not the set of conformances inside of that module. Callers have since been providing all manner of module-scoped contexts to it. Let's just get rid of it. When we want to teach protocol conformance lookup to do this, we can revert this commit as a starting point and try again.
This commit is contained in:
@@ -606,7 +606,7 @@ ModuleFile::readConformanceChecked(llvm::BitstreamCursor &Cursor,
|
||||
module = getAssociatedModule();
|
||||
|
||||
SmallVector<ProtocolConformance *, 2> conformances;
|
||||
nominal->lookupConformance(module, proto, conformances);
|
||||
nominal->lookupConformance(proto, conformances);
|
||||
PrettyStackTraceModuleFile traceMsg(
|
||||
"If you're seeing a crash here, check that your SDK and dependencies "
|
||||
"are at least as new as the versions used to build", *this);
|
||||
|
||||
Reference in New Issue
Block a user