Overview
| Artifact ID: | 83b72afc7d5281510ee751c2d09e54a87e4ddaed |
|---|---|
| Ticket: | 229fa655638ab16d794ea819296cf9f3a9088619
tailcall inside apply inside namespace |
| User & Date: | pooryorick on 2016-06-03 14:28:36 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
In the following script, there are two identical <code>apply</code> commands. The one inside <code>namespace val n1 ...</code> succeeds, while the other one fails: <code><verbatim> namespace eval n1 { proc p2 {} { set name [lindex [info level 0] 0] set name [uplevel 1 [list ::namespace origin $name]] } puts [apply [list {} {tailcall p2} ::n1]] } puts [apply [list {} {tailcall p2} ::n1]] </verbatim></code> Error: <code><verbatim> invalid command name "p2" while executing "::namespace origin p2" ... </code></verbatim> - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "pooryorick"
- priority changed to: "5 Medium"
- private_contact changed to: "a5d657bd6eb6e75747f01adab66e620d8b96868f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pooryorick"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "tailcall inside apply inside namespace"
- type changed to: "Bug"