Skip to content
Tcl Source Code History Of Ticket 2949396
Login

History Of Ticket 2949396

Artifacts Associated With Ticket 2949396

  1. Ticket change [6f1c841a41] (rid 100256) by dgp on 2010-02-10 22:53:17:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      ==== upvar-3.5 unsetting array elements with upvar FAILED
      ==== Contents of test case:
      
          proc p1 {} {
              set a(0) zeroth
              set a(1) first
              set a(2) second
              p2
              array names a
          }
          proc p2 {} {upvar a(0) x; unset x}
          p1
      
      ---- Result was:
      2 1
      ---- Result should have been (exact matching):
      1 2
      ==== upvar-3.5 FAILED
      
      
      
      ==== upvar-3.6 unsetting then resetting array elements with upvar FAILED
      ==== Contents of test case:
      
          proc p1 {} {
              set a(0) zeroth
              set a(1) first
              set a(2) second
              p2
              list [array names a] [catch {set a(0)} msg] $msg
          }
          proc p2 {} {upvar a(0) x; unset x; set x 12345}
          p1
      
      ---- Result was:
      {2 1 0} 0 12345
      ---- Result should have been (exact matching):
      {0 1 2} 0 12345
      ==== upvar-3.6 FAILED
      
      New hash ordering, I imagine.
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "upvar.test failures"
    12. type initialized to: "Bug"
  2. Ticket change [089e16bb66] (rid 89601) by dkf on 2010-02-11 17:26:13:

    1. closedate changed to: "2010-02-11T10:26:13"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"