babashka/sci

interop on local in call position doesn't work

Closed this issue · 0 comments

This works:

cljs.user=> (sci/eval-string "(def j #js {:a (fn [] 1)}) (j.a)")
1

but this doesn't:

cljs.user=> (sci/eval-string "(let [x #js {:foo #js {:bar 1}} y x.foo.bar] y)")
1