Artifacts Associated With Ticket 545644ffffffffffffffffffffffffffffffffff
Ticket change [0cd838e54d] (rid 114247) by nobody on 2002-04-18 13:33:13:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OS Platform: Windows 2000 Problem Behavior: [info body] returns an empty string instead of the body of a procedure that was defined as a list, and not yet compiled. The proc still works, but introspection is impossible. Workaround: turn the body into a string, by appending e.g. a space (see example below) Expected behavior: Return the string representation of the body in all cases Concise code sample: (interactive shell) X:\home\suchenwi>tclsh % proc test2 0 [list expr {$0 == "x"}] % info body test2 % test2 x 1 % proc test3 0 "[list expr {$0 == "x"}] " % info body test3 expr {$0 == "x"} - foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "info body fails if proc body was a list"
- type initialized to: "Bug"
Ticket change [a81bf4dba7] (rid 98917) by dkf on 2002-04-18 21:17:54:
- closedate changed to: "2002-04-18T14:17:54"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"