Skip to content
Tcl Source Code View Ticket
Login

View Ticket

expr round() - wrong err msg with no args

Closed / Fixed2889593fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-10-30 17:52:44
expr {round()}

==> too many arguments for math function "round"

(same, of course, with [tcl::mathfunc::round])

The text of the error msg is obviously wrong: lesser than non args are hardly possible.

This is with tcl cvs head. 8.5.2 has the same behaviour. 8.4.16 has the better error msg: too few arguments for math function
dkfplain2009-11-01 03:26:40
allow_comments - 1
dkf Ticket [2889593fff]: 1 change [History diff]2009-11-01 03:27:15
Log in (anonymous is fine) to add a comment.