From: SourceForge.net <no...@so...> - 2012-03-30 08:54:20
|
Bugs item #3513146, was opened at 2012-03-30 01:54 Message generated for change (Tracker Item Submitted) made by blacksqr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3513146&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 18. Commands M-Z Group: development: 8.6b2 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stephen Huntley (blacksqr) Assigned to: Donal K. Fellows (dkf) Summary: string index permits invalid charIndex Initial Comment: % set x a a % set val [string index $x end]] a] Note the extra close bracket at the end of the last statement. Instead of throwing an error for imbalanced brackets, the extra bracket is strangely passed through to the result. Tested on Tcl 8.5.8 and 8.6b2 (Ubuntu) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=3513146&group_id=10894 |