diff options
author | sebres <sebres@users.sourceforge.net> | 2024-05-22 10:22:30 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2024-05-22 10:22:30 (GMT) |
commit | 488f3a871df50e46dea10991a0568124c6e50bac (patch) | |
tree | 99e7a31f41ff4ffefe3f2a672ac74d59a2f30cee /generic | |
parent | 8f53fd7c7bc9d1c648c94a2715af135b5e2a1138 (diff) | |
download | tcl-488f3a871df50e46dea10991a0568124c6e50bac.zip tcl-488f3a871df50e46dea10991a0568124c6e50bac.tar.gz tcl-488f3a871df50e46dea10991a0568124c6e50bac.tar.bz2 |
cherry-pick [659ca0ae8da43a1e] for 8.6: don't need to invoke it in case if oPtr->selfCls is NULL
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclOOCall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c index bfff4e9..512db60 100644 --- a/generic/tclOOCall.c +++ b/generic/tclOOCall.c @@ -756,6 +756,9 @@ AddSimpleChainToCallContext( } } } + if (!oPtr->selfCls) { + return; + } AddSimpleClassChainToCallContext(oPtr->selfCls, methodNameObj, cbPtr, doneFilters, flags, filterDecl); } |