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

reply prints confusingly with metadata errors #164

Open
hypirion opened this issue Nov 22, 2015 · 0 comments
Open

reply prints confusingly with metadata errors #164

hypirion opened this issue Nov 22, 2015 · 0 comments

Comments

@hypirion
Copy link
Contributor

From technomancy/leiningen#1668:

Calling lein trampoline run, then typing the following leads to strange output:

user=> (^ 2 7)

IllegalArgumentException Metadata must be Symbol,Keyword,String or Map  clojure.lang.LispReader$MetaReader.invoke (LispReader.java:720)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException (Util.java:170)
user=> (* 2 7)
714
user=> (^ 2 7)

IllegalArgumentException Metadata must be Symbol,Keyword,String or Map  clojure.lang.LispReader$MetaReader.invoke (LispReader.java:720)
RuntimeException Unmatched delimiter: )  clojure.lang.Util.runtimeException (Util.java:170)
user=> (+
  #_=> 1 2 3)
76

In particular, it seems like the 7 is retained even after ) is parsed, and this is printed as a prefix in front of next evaluation result.

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