Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 32bc8e176753e4d92005af3c99f1c4179c825418
Ticket: 3057639fffffffffffffffffffffffffffffffff
lappend inconsistency with respect to read traces
User & Date: msofer on 2012-01-23 08:12:54
Changes

  1. icomment:
    
    
    allow_comments - 0
    
    lappend's behaviour is still inconsistent between BC and eval'ed code. On today's core-8-5-branch tip and trunk I get (reported by mbecroft in 3477581):
    
    
    % apply {{} {trace add variable foo read {apply {{name1 name2 op} {upvar $name1 var ; set var 1}}} ; lappend foo 2}}
    2
    % apply {{} {trace add variable foo read {apply {{name1 name2 op} {upvar $name1 var ; set var 1}}} ; eval lappend foo 2}}
    1 2
    % apply {{} {trace add variable foo read {apply {{name1 name2 op} {upvar $name1 var ; set var 1}}} ; eval [list lappend foo 2]}}
    1 2
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. priority changed to: "9 Immediate"
  5. resolution changed to: "None"
  6. status changed to: "Open"
  7. username: "msofer"