Skip to content
Tcl Source Code History Of Ticket 3477581fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3477581fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3477581fffffffffffffffffffffffffffffffff

  1. Ticket change [e72067c1b8] (rid 104400) by mbecroft on 2012-01-23 01:05:52:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In tcl8.6b2 and fossil trunk as of today:
      
      Problem behaviour:
      
      'lappend' and 'eval lappend' behave differently when a variable has a read trace. Byte compiled lappend does not trigger the read trace, but eval'd lappend does trigger it:
      
      % apply {{} {set foo {} ; trace add variable foo read {apply {{name1 name2 op} {upvar $name1 var ; set var 1}}} ; lappend foo 2}}
      2
      % apply {{} {set foo {} ; trace add variable foo read {apply {{name1 name2 op} {upvar $name1 var ; set var 1}}} ; eval lappend foo 2}}
      1 2
      
      Expected behaviour:
      
      both commands have the same effect.
      
      
    4. foundin initialized to: "obsolete: 8.6b2"
    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: "mbecroft"
    10. subsystem initialized to: "46. Traces"
    11. title initialized to: "Read trace in bc lappend different to eval lappend"
    12. type initialized to: "Bug"
  2. Ticket change [1a50186415] (rid 122960) by mbecroft on 2012-01-23 08:07:09:

    1. assignee changed to: "msofer"
  3. Ticket change [b6468157bb] (rid 125392) by msofer on 2012-01-23 08:12:48:

    1. closedate changed to: "2012-01-23T01:12:48"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      Moved discussion to 3057639
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "msofer"