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

Return value of write calls not properly handled #3

Open
mfikes opened this issue Jun 20, 2020 · 1 comment
Open

Return value of write calls not properly handled #3

mfikes opened this issue Jun 20, 2020 · 1 comment

Comments

@mfikes
Copy link
Owner

mfikes commented Jun 20, 2020

cljs.user=> (.write js/D21 false)
ReferenceError: "0" is not defined
 at line 13 col 7
throw e__6755__auto__;
      ^
in function called from line 14 col 5
}})()
   ^
at line 1 col 89
...tus:"success",value:eval(d)}}catch(f){var a=f;return{status:...

Workaround:

(do (.write js/D21 false) nil)
kiranshila added a commit to kiranshila/esprit that referenced this issue Aug 17, 2020
mfikes pushed a commit that referenced this issue Aug 17, 2020
* Moved the eval stage of the repl into a defn to reduce code repetition

* Fixes #14 and #3, moves CIDER fix to client side (big performance boost)
@kiranshila
Copy link
Contributor

Fixed in #26

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

2 participants