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

Calva crashes when editing new file without namespace #211

Closed
roskenet opened this issue Jun 7, 2019 · 2 comments
Closed

Calva crashes when editing new file without namespace #211

roskenet opened this issue Jun 7, 2019 · 2 comments

Comments

@roskenet
Copy link

roskenet commented Jun 7, 2019

Editing a file without a namespace leads to a freezing calva repl.

Reproduceable:

  1. Open a leininigen project folder and a Calva REPL
  2. Add a new file
  3. Start to edit it by typing:
    (d

Now the REPL is dead.
Workaround for me is to copy and paste (ns mynamespace) into the new file first.

Version: 1.35.0
Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d
Date: 2019-06-04T01:13:26.790Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 5.0.0-16-generic

Perhaps somehow related to #189 ?

@roskenet roskenet changed the title Calva crashes when editing no namespace Calva crashes when editing new file without namespace Jun 7, 2019
PEZ added a commit that referenced this issue Jun 8, 2019
PEZ added a commit that referenced this issue Jun 8, 2019
@PEZ
Copy link
Collaborator

PEZ commented Jun 8, 2019

Thanks for catching and reporting this! I was stubbornly going down the first list found in the file and if there were no ns form there, I got stuck at the closing paren. I've just released 2.0.5 which fixes this in my testing. If it works for you too, please close this issue.

@roskenet
Copy link
Author

roskenet commented Jun 9, 2019

Thanks a lot! Seems to be fixed!

@roskenet roskenet closed this as completed Jun 9, 2019
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