Overview
| Artifact ID: | 9c2915b82673ed981b1aebd36f8d34f2733b72e2 |
|---|---|
| Ticket: | 1374582fffffffffffffffffffffffffffffffff
invalid object modification |
| User & Date: | uring on 2005-12-06 16:11:06 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
(1) run the following script: proc touch {listValue} { lset listValue 1 4 5 return $listValue } set data [list a [list 1 2 3] b] puts $data touch $data puts $data (2) you get the expected output: a {1 2 3} b a {1 2 3} b ... the proc "touch" has _not_ changed the variable "data" (3) now uncomment the first "puts $data" command and rerun the script (4) the output is a {1 7 3} b BTW: This does _not_ happen with tcl8.5a2. - foundin changed to: "obsolete: 8.5a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "uring"
- subsystem changed to: "14. List Object"
- title changed to: "invalid object modification"
- type changed to: "Bug"