Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a4a9f676322172bfc16cf6155a66ebd1e9a421c
Ticket: 1675044fffffffffffffffffffffffffffffffff
lreverse shared intrep bug
User & Date: dgp on 2007-03-14 00:30:31
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    Originator: YES
    
    
    Here's a test:
    
    testConstraint testobj [llength [info commands testobj]]
    test cmdIL-7.7 {lreverse command - shared intrep [Bug 1675044]} -setup {
        teststringobj set 1 {1 2 3}
        testobj convert 1 list
        testobj duplicate 1 2
        variable x [teststringobj get 1]
        variable y [teststringobj get 2]
        testobj freeallvars
        proc K {a b} {return $a}
    } -constraints testobj -body {
        lreverse [K $y [unset y]]
        lindex $x 0
    } -cleanup {
        unset -nocomplain x y
        rename K {}
    } -result 1
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"