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

Attempting to print the type of a primitive array puts the REPL into an infinite loop #1176

Closed
ghoustonjr opened this issue Nov 25, 2015 · 2 comments
Milestone

Comments

@ghoustonjr
Copy link

Attempting to print the type of a primitive array puts the REPL into an infinite loop. This can be demonstrated with the following expression:

(type (byte-array 10))

That should print [B. With Cursive 0.1.70 and IntelliJ 15.0.1 it triggers an infinite loop during which the REPL will repeatedly print empty new lines until it's terminated.

This only happens if "Pretty print REPL return Values" is checked in the "Languages & Frameworks > Clojure" settings menu. This happens from any lein repl used from Cursive, whether it's local or remote. This doesn't happen in the clojure.main REPL, and it doesn't happen in a lein REPL outside of Cursive.

Thanks for Cursive! It's a fantastic tool.

@cursive-ide cursive-ide added this to the 0.1.71 milestone Nov 25, 2015
@cursive-ide
Copy link
Owner

This is fixed in the next build. See #1169 for a description of the fix and some discussion.

@rsachdeva
Copy link

👍

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

3 participants