inconsistant error-message inTcl_GetNumberFromObj()
Closed / Fixed2a14c349a8db94469af3fdbea422b1c49018e105Created 1 year agoUpdated 1 year ago
Descriptionwiki2025-09-05 14:29:28
Example:
$ tclsh9.1 % set x " "% incr x expected integer but got " " % lindex $x 0 % incr x expected integer but got a list
So, even though $x is the same string value, "incr" gives a different error-message. That should never happen.
Referenced by1
e65b6e9dbeFix [2a14c349a8]: inconsistant error-message inTcl_GetNumberFromObj(). With testcase check-in2025-09-05 14:37:07
jan.nijtmanswiki2025-09-05 14:43:36
Fixed [here]
Log in (anonymous is fine) to add a comment.