diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2017-03-29 19:16:32 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2017-03-29 19:16:32 (GMT) |
commit | c552943f9e361bd0e1facefafda71d3af4f991f3 (patch) | |
tree | 7860640334b407827cb96b3ad04c386516a1ab39 /generic/tclOOCall.c | |
parent | 24f5b98e8c8a4d160980f769e07bebe60f286eee (diff) | |
download | tcl-c552943f9e361bd0e1facefafda71d3af4f991f3.zip tcl-c552943f9e361bd0e1facefafda71d3af4f991f3.tar.gz tcl-c552943f9e361bd0e1facefafda71d3af4f991f3.tar.bz2 |
[900cb0284bc] Ensure that masking pseudo-methods used for export management are not introspectable directly. [cherrypick]
Diffstat (limited to 'generic/tclOOCall.c')
-rw-r--r-- | generic/tclOOCall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c index 8003345..ac0b94d 100644 --- a/generic/tclOOCall.c +++ b/generic/tclOOCall.c @@ -619,6 +619,7 @@ AddClassMethodNames( int isWanted = (!(flags & PUBLIC_METHOD) || (mPtr->flags & PUBLIC_METHOD)) ? IN_LIST : 0; + isWanted |= (mPtr->typePtr == NULL ? NO_IMPLEMENTATION : 0); Tcl_SetHashValue(hPtr, INT2PTR(isWanted)); } else if ((PTR2INT(Tcl_GetHashValue(hPtr)) & NO_IMPLEMENTATION) && mPtr->typePtr != NULL) { |