Overview
| Artifact ID: | 36fad5d780252bb331cf6de716a082ee65ac6626 |
|---|---|
| Ticket: | 542588ffffffffffffffffffffffffffffffffff
bug in expr error handler |
| User & Date: | nobody on 2002-04-11 18:05:34 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
% set begin 6658020034 6658020034 % set end 658020034 658020034 % expr abs($end - $begin) integer value too large to represent % expr { abs($end - $begin) } can't use floating-point value as operand of "-" % expr { abs(658020034 - 6658020034) } integer value too large to represent Can someone explain where Tcl thinks the floating point value is? And why is a floating point value not a valid operand of "-"? - Phil Ehrens This is just an example of too much sharing of a common routine for producing an error message. There's one routine for generating the "illegal operand" error message, and by the time it is called, the context isn't around any more to tailor the message precisely. So the error message generator knows that "658020034" was "bad", and it can see that that is a legal floating-point value, so it assumes that the error is that a floating-point value was used where it should not be. Go ahead and file a bug report under the "ByteCode Compiler" Category. - Don Porter - foundin changed to: "obsolete: 8.3.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "bug in expr error handler"
- type changed to: "Bug"