mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #67952 from slavapestov/tuple-conformance-tbd-etc
A pile of mostly unrelated one-liners
This commit is contained in:
@@ -1280,10 +1280,7 @@ bool IRGenerator::canEmitWitnessTableLazily(SILWitnessTable *wt) {
|
||||
if (wt->getLinkage() == SILLinkage::Shared)
|
||||
return true;
|
||||
|
||||
NominalTypeDecl *ConformingTy =
|
||||
wt->getConformingType()->getNominalOrBoundGenericNominal();
|
||||
|
||||
switch (ConformingTy->getEffectiveAccess()) {
|
||||
switch (wt->getConformingNominal()->getEffectiveAccess()) {
|
||||
case AccessLevel::Private:
|
||||
case AccessLevel::FilePrivate:
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user