Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding vars to namespace 'clojure.core don't get merged in #124

Closed
borkdude opened this issue Oct 23, 2019 · 1 comment
Closed

Adding vars to namespace 'clojure.core don't get merged in #124

borkdude opened this issue Oct 23, 2019 · 1 comment

Comments

@borkdude
Copy link
Collaborator

sci.impl.main=> (sci/eval-string "(println :hello)" {:namespaces {'clojure.core {'println println}}})
ExceptionInfo Could not resolve symbol: println [at line 1, column 2]  clojure.core/ex-info (core.clj:4739)

Workaround for now: add these vars to :bindings.

@borkdude
Copy link
Collaborator Author

Note: when this issue is fixed, babashka should merge core-bindings to clojure.core so they can also be referred to using fully qualified symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant