Artifacts Associated With Ticket 1833652
Ticket change [ffeb46379a] (rid 108846) by mistachkin on 2007-11-17 14:37:53:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
NOTE: This bug applies to both 8.4.x and HEAD. proc a { a } { puts stdout [info level]; # 1 b $a } proc b { b } { puts stdout [info level]; # 2 uplevel 1 { puts stdout [info level]; # 1 uplevel 1 { puts stdout [info level]; #0 uplevel #0 { puts stdout [info level]; #0 } uplevel #1 { # this raises an error when it should not. puts stdout [info level]; # 1 } uplevel #2 { # this raises an error when it should not. puts stdout [info level]; # 2 } } } } a 2 - foundin initialized to: "obsolete: 8.5b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "22. [proc] and [uplevel]"
- title initialized to:
absolute uplevel can fail when nested in relative uplevel
- type initialized to: "Bug"
Ticket change [7738870ff8] (rid 89743) by msofer on 2007-11-17 22:01:14:
- closedate changed to: "2007-11-17T15:01:14"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Originator: NO That is the correct behaviour, per design and docs: "The uplevel command causes the invoking procedure to disappear from the procedure calling stack while the command is being executed."
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "msofer"