We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bf543c + 856d12b commit 0ad144cCopy full SHA for 0ad144c
lib/IRGen/IRGenSIL.cpp
@@ -8398,7 +8398,7 @@ void IRGenSILFunction::visitClassMethodInst(swift::ClassMethodInst *i) {
8398
// debugger.
8399
bool shouldUseDispatchThunkIfInDebugger =
8400
!classDecl->getASTContext().LangOpts.DebuggerSupport ||
8401
- methodAccess == AccessLevel::Public;
+ methodAccess >= AccessLevel::Public;
8402
if (IGM.hasResilientMetadata(classDecl, ResilienceExpansion::Maximal) &&
8403
shouldUseDispatchThunkIfInDebugger) {
8404
shouldUseDispatchThunk = true;
0 commit comments