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