D 2024-03-06T19:47:51.393
J icomment Now\sI\sknow\swhy\sit\sdid\snot\scompletely\swork\sinitially\safter\sback-porting\s-\sI\shad\sa\sbit\sdifferent\svariant\sof\sTclGetNamespaceForQualName\s(got\samended\sa\syear\slater)...
Now\sit\sis\sfully\sback-ported\sand\snew\stests\sadded\s(see\snamespace-52.14),\sso\sit'd\salways\swork\sfor\sa\snot\ssimple\scommand\stoo\s(::A::B::C::cmd\s->\s::A::B\swith\sunknown,\sC::cmd\sis\sto\ssearch,\seven\sif\s::A::B::C\sis\snot\sthere,\showever\salso\sif\s::A::B::C\sexists,\sbut\shas\sno\sunknown\shandler.\r\n\r\n@Jan
\r\n>\sI'm\s+1\smerging\sthis\sto\s8.6\sand\sup,\sconsidering\sit\sa\sbug-fix\sfor\sa\scorner-case\swhich\swas\snot\sconsidered\sbefore.\sI\sdon't\ssee\sany\snegative\simpact.\r\n\r\nAlthough\sI\salso\snot\sbelieve\sit'd\shave\sany\snegative\simpact,\sI\smust\sadmit\sI\ssee\sone\scompat\sthing,\sso\sit\sshould\sat\sleast\sget\sa\srelease\snote\s(as\swell\sas\sa\sdocumentation\senhancement),\sexplaining\sa\sprecedence\snow\s-\s"deepest\sNS\swith\sunknown-handler\salways\swins\s(regardless\sfrom\swhere\sexactly\sit\swas\sexecuted)".
\r\nFor\sinstance\sin\scase\sof\s2\snested\sNS\swith\shandlers\s(::A::B\sand\s::A::B::C),\sfor\sthe\scall:
\r\nnamespace\seval\s::A::B::\s{\sC::cmd\s}
\r\nit'd\sinvoke\shandler\sof\s::A::B::C,\swhere\spreviously\sit'd\srather\sinvoke\s::A::B\s(since\sthe\sfirst\swas\snot\simplemented\syet).
J login sebres
J mimetype text/x-fossil-wiki
K 910d67a229fe7f653d28c00e470f2c256e3628ce
U sebres
Z cc1c6b22d13b6395e74e23447ab28d52