Improve error message when trying to compile invalid octal literals

Description

When trying to compile ClojureScript, if an invalid octal literal is present in the source code, e.g. 08 or 09, an exception will be thrown, but the exception does not explain what the issue was, or which line and column the error occurred on:

Also of note, this doesn't fail in the bootstrapped reader, which suggests there may be a bug there.

Environment

None

Activity

Show:
David Nolen
March 28, 2016, 12:47 PM

This problem appears to originate in tools.reader. If that's the case it should be closed here and opened there. Thanks!

Daniel Compton
March 28, 2016, 10:00 PM

Fixed in TRDR-36

Completed

Assignee

Daniel Compton

Reporter

Daniel Compton

Labels

Approval

None

Patch

None

Priority

Minor