Yes, this is expected. Similar issue exists with kws with unknown aliases
in reader conditionals.
user=> #?(:clj 10 :cljs 5)
10
user=> #?(:clj 10 :cljs ::foo/bar)
RuntimeException Invalid token: ::foo/bar
clojure.lang.Util.runtimeException (Util.java:221)
Autoresolved keywords inherently requi
I wouldn't consider this a bug or even an unfortunate behavior necessarily,
but potentially surprising and worth mentioning. The comment reader macro
#_ works just fine as long as nothing breaks the reader. The surprise
happens when you don't consider that for namespaced keywords using ns
aliases
Could use instaparse (https://github.com/Engelberg/instaparse) to parse the
input.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please b