dir fails if string require used
Instead, expect that dir would show the vars in the clojure.set namespace.
Hrm but will this patch work for invalid symbols due to Node.js requires? i.e "@foo/bar”?
If you look through the codebase, you will find uneven support for string-based namespaces in the form of conversions from strings to symbols at certain places.
A more principled approach, but yet more invasive, might involve reassessing the entire situation and perhaps ensuring that only symbols end up in the compiler state for all cases where the namespace can be represented as symbols.
This patch instead works by simply adding another such conversion where it matters for the specific issue describe in this ticket.
CLJS-3090.patch added to Patch Tender
CLJS-3090.patch passes CI