We're updating the issue view to help you get more done. 

Problem with namespaces starting with com in Rhino

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $ clj -m cljs.main -re rhino -r ClojureScript 1.10.238 cljs.user=> (ns com.foo) com.foo=> (def x 3) #'com.foo/x com.foo=> x org.mozilla.javascript.EcmaError: TypeError: Cannot call property cljs$lang$ctorPrWriter in object [JavaPackage com.foo.x]. It is not a function, it is "object". (/var/folders/gx/nymj3l7x4zq3gxb97v2zwzb40000gn/T/out314052489996668423318817887553502/goog/../cljs/core.js#32857) cljs$core$pr_writer_impl (cljs/core.cljs:9919:9) cljs.core/pr-writer (cljs/core.cljs:10003:5) cljs.core/pr-seq-writer (cljs/core.cljs:10006:4) cljs$core$pr_sb_with_opts (cljs/core.cljs:10014:6) cljs$core$pr_str_with_opts (cljs/core.cljs:10024:5) (cljs/core.cljs:10052:3) cljs$core$pr_str (cljs/core.cljs:10049:1) (<NO_SOURCE_FILE> <cljs repl>:1:0)

Environment

{:deps {org.clojure/clojurescript {:mvn/version "1.10.238"}}}

Status

Assignee

David Nolen

Reporter

Mike Fikes

Labels

None

Approval

Screened

Patch

None

Priority

Minor