Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ea07cf214cad1c9c0493633ae8eb8eb8e0102f50
Ticket: 2968650fffffffffffffffffffffffffffffffff
unset ignores error of trace
User & Date: fridolin on 2010-03-11 12:59:39
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.5.5"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "fridolin"
  10. subsystem changed to: "46. Traces"
  11. title changed to: "unset ignores error of trace"
  12. type changed to: "Bug"