Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fef62f00d4fd70fdcbde744494d65cc64dff8a50
Ticket: ccc2c2cc983bf903292d23d1942e7255957de5bd
lreplace on an empty list produces an error where it didn't use to.
User & Date: sbron on 2014-09-04 08:31:53
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    In Tcl 8.6.2 the command [lreplace {} 1 1] produces an error: "list doesn't contain element 1". This conflicts with the manual page, which specifically mentions: "If list is empty, then first and last are ignored". In Tcl 8.6.1 the indicated command returns an empty list, as expected.
    
  5. foundin changed to: "8.6.2"
  6. is_private changed to: "0"
  7. login: "sbron"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "e6e0da3db38bd7f7aaef501760314ad0221f3e23"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "sbron"
  14. subsystem changed to: "17. Commands I-L"
  15. title changed to:
    lreplace on an empty list produces an error where it didn't use to.
    
  16. type changed to: "Bug"