Skip to content
Tcl Source Code History Of Ticket 2968650
Login

History Of Ticket 2968650

Artifacts Associated With Ticket 2968650

  1. Ticket change [ea07cf214c] (rid 104906) by fridolin on 2010-03-11 12:59:39:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. 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}
      
      
    4. foundin initialized to: "obsolete: 8.5.5"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "fridolin"
    10. subsystem initialized to: "46. Traces"
    11. title initialized to: "unset ignores error of trace"
    12. type initialized to: "Bug"
  2. Ticket change [eab17cc79a] (rid 103417) by dgp on 2010-03-16 00:06:08:

    1. closedate changed to: "2010-03-15T17:06:08"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      From http://www.tcl.tk/man/tcl/TclCmd/trace.htm#M18 :
      
      "Any errors in unset traces are ignored. "
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "dgp"