<i>lreplace on an empty list produces an error where it didn't use to.</i>.
by
.
D 2014-09-04T08:31:53.253
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment In\sTcl\s8.6.2\sthe\scommand\s[lreplace\s{}\s1\s1]\sproduces\san\serror:\s"list\sdoesn't\scontain\selement\s1".\sThis\sconflicts\swith\sthe\smanual\spage,\swhich\sspecifically\smentions:\s"If\slist\sis\sempty,\sthen\sfirst\sand\slast\sare\signored".\sIn\sTcl\s8.6.1\sthe\sindicated\scommand\sreturns\san\sempty\slist,\sas\sexpected.
J foundin 8.6.2
J is_private 0
J login sbron
J priority 5\sMedium
J private_contact e6e0da3db38bd7f7aaef501760314ad0221f3e23
J resolution None
J severity Minor
J status Open
J submitter sbron
J subsystem 17.\sCommands\sI-L
J title lreplace\son\san\sempty\slist\sproduces\san\serror\swhere\sit\sdidn't\suse\sto.
J type Bug
K ccc2c2cc983bf903292d23d1942e7255957de5bd
U sbron
Z a8a07e5122de9e6867a445af7a9dbb67