Fork me on GitHub
#clojurescript
<
2020-09-03
>
alexstokes15:09:27

hi all, I’m trying to use a js lib w/ shadow-cljs and getting an error from the closure compiler about an unsupported feature bigint — my dependency uses bn.js

alexstokes15:09:07

does anyone know how to fix this or where I can read more? i’m wondering if there is a flag i can set somewhere or if it truly is just unsupported in cljs right now…

p-himik16:09:32

How exactly does it complain about bigint?

p-himik16:09:44

And do you use bigint yourself as an expression? If so, how?

souenzzo08:09:56

Checkout #shadow-cljs channel AFIK you can add some compiler option, maybe language-in, to support it.