I don't know if my issue ought to be strictly dealt with within hashp-land or within zprint, or if there's some user-config/error possible here. But, either way, attempts to #p (js/Symbol "foo"), or, for example, #p a ReactElement ( which is a JS obj with a Symbol value ), crash the running application, apparently once it gets to zprint:
TypeError: Cannot convert a Symbol value to a string
at Array.join (<anonymous>)
at push../out/cljs.core.js.cljs.core.str.cljs$core$IFn$_invoke$arity$1 (core.cljs:2934:1)
at Object.zprint$zprint$showfn_QMARK_ [as showfn_QMARK_] (zprint.cljc:128:1)
at zprint$zprint$fzprint_STAR_ (zprint.cljc:7566:1)
at zprint.cljc:906:1
at Function.zprint$zprint$fzprint_two_up (zprint.cljc:906:1)
at push../out/cljs.core.js.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6 (core.cljs:3849:1)
at push../out/cljs.core.js.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5 (core.cljs:3849:1)
at push../out/cljs.core.js.cljs.core.apply.cljs$core$IFn$_invoke$arity$5 (core.cljs:3849:1)
at G__29835__delegate (core.cljs:4277:1)
I could just check if something is Symbol, and elect to not place a #p on that path, but wanted to know if you had any ideas, smells, suggestions or configuration tips?
Hi, love
hashp
and the work you've put into it.I don't know if my issue ought to be strictly dealt with within
hashp
-land or withinzprint
, or if there's some user-config/error possible here. But, either way, attempts to#p (js/Symbol "foo")
, or, for example,#p
a ReactElement ( which is a JS obj with a Symbol value ), crash the running application, apparently once it gets tozprint
:I could just check if something is Symbol, and elect to not place a
#p
on that path, but wanted to know if you had any ideas, smells, suggestions or configuration tips?