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
View Macro Expansion > "java.lang.AssertionError: Wrong line separators" #739
Comments
Thanks, I'll take a look at this. BTW on the exception popup window, there's now a button to send exceptions straight to me, so you don't have to file issues. If you want to file an issue that's fine of course, but that might be easier for you. |
I can't reproduce this, even by setting my |
It seems to happen every time with certain forms, but not with all forms. Double-checked my JVM settings but I'm pretty sure none of them are relevant. I'm working on a minimal repro for you. The criteria for getting the exception are non-trivial. |
If it's easier, I think I've made a change that will fix the problem. If you'd like to try a dev build, drop me a mail at cursive@cursiveclojure.com. |
There'd be some cost to me trying that, unfortunately. Might resort to it if it's the only way for us to diagnose but for now, can you repro with this? (defn foo [x] `(vector ~x)) |
Yes, I can, thanks. |
I fixed your original problem based on your reproduction case. I also found another problem with it but didn't have time to fix that since I need to get a release out for an unrelated problem. I'll fix that for the next drop. |
Cool, thanks! I can confirm that this works on my original code now in 0.1.46. |
Great! Feedback is useful on whether the macroexpansion UI is useful and understandable, too, since it's pretty new. Let me know if anything isn't working well - I actually don't use this much myself since I don't use a lot of macros. |
I'm finding it to be very useful. I'll toss a few usability thoughts in a new issue. |
Windows 7 x64
JRE 1.7.0_71-b14 amd64
IDEA 14.0.3
Cursive 0.1.45
When running Tools > REPL > View Macro Expansion, I get this:
The text was updated successfully, but these errors were encountered: