Misleading error message with certain badly formed keywords

Description

A strange error message is thrown if a keyword starts with one of the following characters:

For example, all of the following calls throw this error:

Environment

None

Activity

Show:
Nicola Mometto
January 20, 2021, 10:35 PM

This now prints (consistently between the edn and the clojure readers):
```
user=> (r/read-string ":;")
Execution error (ExceptionInfo) at clojure.tools.reader.impl.errors/throw-ex (errors.clj:34).
Invalid keyword: :.
```

(FWIW, the reason for this error is that those characters are non-constituents, so the bad keyword is ":", not ":;" for example)

Fixed

Assignee

Unassigned

Reporter

Ambrose Bonnaire-Sergeant

Labels

None

Approval

None

Patch

None

Priority

Minor