Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[lreverse] apparently doesn't

Closed / Fixed1672585fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-03-02 17:48:11
% set x {1 2 3}
1 2 3
% lreverse $x[unset x]
1 2 3


Contrast with

% lreverse [set x [list 1 2 3]][unset x]
3 2 1

The problem is an invalid string
rep not getting discarded.
dgpplain2007-03-03 00:56:30
Logged In: YES 
user_id=80530
Originator: YES


fix and test committed
Log in (anonymous is fine) to add a comment.