Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf28292cf841cc3862f610a881496f416fb4d292
Ticket: 3079830fffffffffffffffffffffffffffffffff
compiled [dict append] and [dict lappend] broken
User & Date: kennykb on 2010-10-02 02:52:06
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The compiled path for [dict append] and [dict lappend] appears to be broken in the HEAD.
    
       1. $ tclsh8.6
       2. % set d {a 1 b 2 c 3}
       3. a 1 b 2 c 3
       4. % dict append d b 22
       5. a 1 b 222 c 3
       6. % proc x {} { set d {a 1 b 2 c 3}; dict append d b 22 }
       7. % x
       8. a 1 b 2 c 3
       9. % exit
      10.  
      11. $ tclsh8.5
      12. % set d {a 1 b 2 c 3}
      13. a 1 b 2 c 3
      14. % dict append d b 22
      15. a 1 b 222 c 3
      16. % proc x {} { set d {a 1 b 2 c 3}; dict append d b 22 }
      17. % x
      18. a 1 b 222 c 3
      19. % exit
    
    The problem appears to be in tclExecute.c, and not in the compilation proc (I first spotted it in attempting to run TAL code with a 'dictAppend' instruction.)
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "7 High"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kennykb"
  10. subsystem changed to: "15. Dict Object"
  11. title changed to: "compiled [dict append] and [dict lappend] broken"
  12. type changed to: "Bug"