Skip to content
Tcl Source Code View Ticket
Login

View Ticket

switch -nocase -- ... regression

Closed / Fixed1891827fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-02-12 09:55:53
Here is an simple test case (windows, VC2005):

% switch -nocase -- A { a {puts YES} default { puts NO } }
NO
% switch -nocase  A { a {puts YES} default { puts NO } }
YES
dkfplain2008-02-12 17:29:02
Logged In: YES 
user_id=79902
Originator: NO

Some of the logic to determine whether it was safe to compile a [switch] command was backwards.
Log in (anonymous is fine) to add a comment.