Artifacts Associated With Ticket 934e6eb9cf
Ticket change [6d1dba9df5] (rid 178220) by pooryorick on 2020-01-03 20:04:41:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
<code>tailcall</code> confuses the unknown handler of a namespace ensemble. The following script, <code><verbatim> namespace eval ns1 { proc dispatch {routine args} { return list } namespace ensemble create -unknown [ list ::apply [list {ensemble routine args} { tailcall dispatch $routine {*}$args } [namespace current]]] } puts [ns1 x one two three] </verbatim></code> results in the error: <verbatim> unknown subcommand "x": namespace ::ns1 does not export any commands </verbatim> However, if the word "tailcall" is removed, then the result is as expected: <verbatim> one two three </verbatim> - is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "21. [namespace]"
- title initialized to: "ensemble unknown handler confused by tailcall"
- type initialized to: "Bug"
Ticket change [d5322ce955] (rid 194939) by pooryorick on 2021-06-21 06:47:43:
- login: "pooryorick"
- mimetype: "text/plain"
- severity changed to: "Important"