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

Can't evaluate multiple forms at once #93

Open
aengelberg opened this issue May 16, 2016 · 1 comment
Open

Can't evaluate multiple forms at once #93

aengelberg opened this issue May 16, 2016 · 1 comment

Comments

@aengelberg
Copy link

Errors vary wildly depending on input types.

=> () ()
undefined is not an object (evaluating 'cljs.core.List.EMPTYcljs.core') nil
=> 1 2
(1) is not a function. (In '(1)(2)', '(1)' is 1) nil
=> 'a 'b
Unexpected keyword 'new'. Parse error. nil
@mfikes
Copy link
Member

mfikes commented May 16, 2016

Yep. This is probably an easy fix—having it iterate over reading a form, evaluating it, and then proceeding with the remainder.

As an aside, this kind of stuff is fixed in Planck, and there is actually a patch in queue for the official ClojureScript REPL that would fix the same there http://dev.clojure.org/jira/browse/CLJS-1572

Dunno why I never thought to try this in Replete :)

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