mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Compare the package names of the accessing module and the decl's defining module.
Update tests.
This commit is contained in:
@@ -349,6 +349,7 @@ bool NormalProtocolConformance::isResilient() const {
|
||||
// individual witnesses.
|
||||
if (!getDeclContext()->getSelfNominalTypeDecl()->isResilient())
|
||||
return false;
|
||||
|
||||
return getDeclContext()->getParentModule()->isResilient();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user