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.
1 parent 1194b59 commit 3cae38dCopy full SHA for 3cae38d
lib/IRGen/IRGenSIL.cpp
@@ -8433,7 +8433,7 @@ void IRGenSILFunction::visitClassMethodInst(swift::ClassMethodInst *i) {
8433
// debugger.
8434
bool shouldUseDispatchThunkIfInDebugger =
8435
!classDecl->getASTContext().LangOpts.DebuggerSupport ||
8436
- methodAccess == AccessLevel::Public;
+ methodAccess >= AccessLevel::Public;
8437
if (IGM.hasResilientMetadata(classDecl, ResilienceExpansion::Maximal) &&
8438
shouldUseDispatchThunkIfInDebugger) {
8439
shouldUseDispatchThunk = true;
0 commit comments