convex icon indicating copy to clipboard operation
convex copied to clipboard

Improve error: incorrect scientific notation

Open helins opened this issue 4 years ago • 2 comments

A double specified in incorrect scientific notation results in an empty message:

12e

12e12.78

;; READER: Reader error: Parse error at Position{line=1, column=6} Source: <.> Message: null

helins avatar May 25 '21 09:05 helins

Might be fixed by replacement Reader

mikera avatar Jul 02 '21 04:07 mikera

Both now throw :UNDECLADED: 12e -> "e" is undeclared ; 12e12.78 -> ".78 is undeclared".

Better but ideally it would fail at the level of the reader.

helins avatar Aug 07 '21 08:08 helins