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

When sending code from file, ns might not be defined yet #26

Open
tonsky opened this issue Nov 1, 2021 · 0 comments
Open

When sending code from file, ns might not be defined yet #26

tonsky opened this issue Nov 1, 2021 · 0 comments
Labels
bug Something isn't working Open Question

Comments

@tonsky
Copy link
Owner

tonsky commented Nov 1, 2021

E.g. start REPL and try to eval plus form in a file like this:

(ns abc)

(+ 1 2)

Command send to nREPL will have {"ns": "abc"}, but abc has not been evaluated yet so it doesn’t exist. This causes an error, even though code could be evaluated just fine in user namespace. Or, alternatively, abc might be required first, before evaluation.

@tonsky tonsky added bug Something isn't working Open Question labels Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Open Question
Projects
None yet
Development

No branches or pull requests

1 participant