Skip to content
Tcl Source Code Artifact [04e5bdc579]
Login

Artifact [04e5bdc579]

Artifact 04e5bdc5790929584ee5e770b358a7a25ef29245a14738a95bd3da0effdc5ad6:

Ticket change [04e5bdc579] - New ticket [b2964460b617adb8|b2964460b6] <i>namespace import: routine resolution when target routine is deleted and recreated</i>. by pooryorick on 2019-01-09 00:18:54.
D 2019-01-09T00:18:54.513
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment The\sfollowing\sscript,\r\n\r\n<code><verbatim>\r\n\tnamespace\seval\sn1\s{\r\n\t\tnamespace\sexport\s*\r\n\t\tproc\shello\s{}\s{\r\n\t\t\tputs\shello\r\n\t\t\trename\shello\s{}\r\n\t\t\tproc\shello\s{}\s{\r\n\t\t\t\tputs\sgoodbye\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tnamespace\seval\sn2\s{\r\n\t\tnamespace\simport\s[namespace\sparent]::n1::hello\r\n\t\thello\r\n\t\thello\r\n\t}\r\n</verbatim></code>\r\n\r\nproduces\sthe\serror\s<code>\sinvalid\scommand\sname\s"hello"</code>.\r\n\r\nHowever,\sif\s<code>rename\shello\s{}</code>\sis\sremoved,\sthere\sis\sno\serror.
J is_private 0
J login pooryorick
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem 21.\s[namespace]
J title namespace\simport:\sroutine\sresolution\swhen\starget\sroutine\sis\sdeleted\sand\srecreated
J type Bug
K b2964460b617adb8399bc67ca691e1039b49bd0b
U pooryorick
Z a39439a03aa60628a0846213a2873d34