Artifacts Associated With Ticket 2968650
Ticket change [ea07cf214c] (rid 104906) by fridolin on 2010-03-11 12:59:39:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I'm not sure, if this is a bug or not. I would expect an error from the unset command. But nothing happens. I show you an example: % proc raise_error { args } { puts $args; error "error" } % trace add variable a unset raise_error % set a(1) 1 1 % unset a(1) a 1 unset % trace add variable a write raise_error % set a(2) 1 a 2 write can't set "a(2)": error while evaluating {set a(2) 1} - foundin initialized to: "obsolete: 8.5.5"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "fridolin"
- subsystem initialized to: "46. Traces"
- title initialized to: "unset ignores error of trace"
- type initialized to: "Bug"
Ticket change [eab17cc79a] (rid 103417) by dgp on 2010-03-16 00:06:08:
- closedate changed to: "2010-03-15T17:06:08"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 From http://www.tcl.tk/man/tcl/TclCmd/trace.htm#M18 : "Any errors in unset traces are ignored. "
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"