Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8768dd570fc4c181e82c3f3fe502303ae6ef82e5
Ticket: 218757ffffffffffffffffffffffffffffffffff
[lreplace] documentation incomplete
User & Date: nobody on 2000-10-26 01:05:01
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2005 Bug
    Version: 8.1
    SubmitDate: '1999-05-07'
    LastModified: '2000-01-18'
    Severity: LOW
    Status: Released
    Submitter: pat
    ChangedBy: hobbs
    RelatedBugIDs: 1705
    OS: Other
    Machine: NA
    FixedDate: '2000-01-18'
    FixedInVersion: 8.3
    ClosedDate: '2000-10-25'
    
    
    Name:
    Don Porter
    
    Comments:
    lreplace <list> <first> <last> ?<element> ...?
        
        When the <last> argument is < 0, but >= <first>, replacement
        is done at the start of the list.  This case is not documented
        in lreplace(n).
        
        The incompatibility with Tcl 7.4 should probably also be noted.
        
        Any doc fix should also be made to the 8.0.x sequence of releases.
    
    ObservedBehavior:
    % set a {1 2 3}
        1 2 3
        % lreplace $a -2 -1 0
        0 1 2 3
    
    
    
    The docs don't specifically preclude this case, but I have cleared
    it up in the 8.3.0 docs.  As for the incompatibility, I would have
    noted the original case as a bug. 
    -- 01/18/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "46. Traces"
  10. title changed to: "[lreplace] documentation incomplete"
  11. type changed to: "Bug"