sci

Sam Ritchie 2022-03-22T08:30:57.948709Z

I was wrong, my NPE is back. here is a repro: https://github.com/sritchie/programming-2022/pull/3 stacktrace is in the issue, but here is the top:

13 |          (sci/copy-ns demo.mathbox (sci/create-ns 'demo.mathbox))}
----------------^---------------------------------------------------------------
Encountered error when macroexpanding sci.core/copy-ns.
NullPointerException: Cannot invoke "clojure.lang.IFn.invoke(Object)" because the return value of "clojure.lang.Var.getRawRoot()" is null
	sci.core/copy-ns (core.cljc:376)

Sam Ritchie 2022-03-23T17:53:42.090679Z

@borkdude fix works great, thank you!

borkdude 2022-03-22T08:31:22.394479Z

Can you please create a Github issue?

Sam Ritchie 2022-03-22T08:33:53.098449Z

yes, will do

Sam Ritchie 2022-03-22T08:36:50.528379Z

done https://github.com/babashka/sci/issues/702

borkdude 2022-03-22T13:48:33.525699Z

In case anyone's interested, here's a preview of my presentation about #nbb tonight (18:30 UTC) at London's Clojurians (online). https://www.dropbox.com/s/s6xa6530d16e4qy/nbb_lndc_2022.pdf?dl=0