Skip to content

Commit

Permalink
cherry-pick [659ca0ae8da43a1e] for 8.6: don't need to invoke it in ca…
Browse files Browse the repository at this point in the history
…se if oPtr->selfCls is NULL
  • Loading branch information
sebres committed May 22, 2024
1 parent e8c456b commit 9839d06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generic/tclOOCall.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,9 @@ AddSimpleChainToCallContext(
}
}
}
if (!oPtr->selfCls) {
return;
}
AddSimpleClassChainToCallContext(oPtr->selfCls, methodNameObj, cbPtr,
doneFilters, flags, filterDecl);
}
Expand Down

0 comments on commit 9839d06

Please sign in to comment.