cljs.tools.reader does not handle double-colon keywords

Description

In tools.reader 1.0.0-beta3, cljs.tools.reader/read-string incorrectly parses double-colon keywords such as ::blah and ::s/blah.

(read-string "::blah") returns a keyword with an empty-string namespace "", equivalent to:

(read-string "::s/blah") throws a reader exception:

In contrast, the JVM Clojure version returns the expected contextually namespaced keywords.

Environment

Clojure 1.9.0-alpha14 with ClojureScript 1.9.293.

Assignee

Nicola Mometto

Reporter

import

Labels

Approval

None

Patch

None

Priority

Major
Configure