.
D 2024-05-23T15:45:45.162
J closedate 2460454.15677271
J closer dkf
J comment using\sthe\sscript\slevel\sof\s::oo::define\s(or\s::oo::objdefine)\scommand\s(for\sa\smostly\sscript\slevel\sversion\sof\sItcl)\sI\sam\smissing\sa\spossibility/option\sto\sset\sthe\sUSE_DECLARER_NS\sflag\swhen\sdefining\sa\smethod\sand\sthere\sis\sno\sway\sto\sset\sthe\sPUBLIC_METHOD\sor\sPRIVATE_METHOD\sflag\sfor\sthat\smethod,\sas\sItcl\scannot\suse\sthe\slogic\sfor\sisPublic\sas\sit\sis\simplemented\sin\sTclOO\sright\snow.\sAn\sadditional\soption\sto\soverwrite\sthat\slogic\swould\sbe\senough.\sI\shave\sdone\sa\squick\shack\sin\stclOODefineCmds.c\sTclOODefineMethodObjCmd\sin\sadding\sa\s"-use_declarer_flag"\sand\sa\s"-protection\s<protection\stype>"\sflag\sfor\ssetting\sPUBLIC_METHOD\sor\sPRIVATE_METHOD\sor\snothing\sat\sall\slikewise.\r\n\r\nWith\sthat\sfeature\sI\scan\sdo\swhat\sI\sneed\sfor\sItcl,\sbut\sthat\sexposes\sa\sbug\swith\sthe\s"my"\scommand\shandling\swhen\shaving\sset\sthe\sUSE_DECLARER_NS\sflag.\sI\sam\sopening\sa\sbug\sin\sthe\sbug\stracker\sfor\sthat.
J icomment 8.7\salso\sallows\syou\sto\soverride\show\sdefinition\scommands\sare\slocated\son\sa\sper-class\sbasis,\sso\syou\scan\sdo\syour\sown\s`method`\sfor\syour\sown\sclasses\swithout\ssmashing\sthe\sone\sfor\severyone\selse.
J login dkf
J mimetype text/x-markdown
J resolution Wont\sFix
J severity Minor
J status Closed
K 2960221fffffffffffffffffffffffffffffffff
U dkf
Z dd2df3a827fd02f13264b223e54d6928