Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5472f36a0667df0313acdbdc520b6efddcde1e6
Ticket: 1833522fffffffffffffffffffffffffffffffff
Compiled [info exists] does not trigger array read traces
User & Date: das on 2007-11-17 04:14:38
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The new compiled [info exists] does not trigger read traces on arrays.
    In particular, this breaks constraint testing in tcltest via the SafeFetch read trace on the testConstraints array...
    
    array set a {}
    trace variable a r {apply {{a k o} {puts stderr "readtrace $a $k $o"}}}
    if {1} { puts stderr "compiled: [info exists a(x)]" }
    puts stderr "uncompiled: [info exists a(x)]"
    
    
  4. foundin changed to: "obsolete: 8.5b2"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "das"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to:
    Compiled [info exists] does not trigger array read traces
    
  12. type changed to: "Bug"