-
Notifications
You must be signed in to change notification settings - Fork 66
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
Exception thrown during phase :analyze of linting #60
Comments
I've pushed a fix for this in a branch af34407 Before merging, @jafingerhut can you take a look at this? |
I tried pulling the latest version of project kria from Github, and unless I'm doing something wrong, it fails to compile with 'lein check', throwing an exception, and fails 'lein test' with the same exception, starting out as shown below. I am using Java 1.7.0_51 on Mac OS X 10.8.5, in case it makes any difference. Are you able to compile the project as it is checked in? Exception in thread "main" java.lang.ExceptionInInitializerError |
The readme tells you how to fix that: Took me a few minutes for me too to find it in there |
Thanks for the step I was missing, and the proposed fix. It definitely helps for kria. It also has the undesirable effect of causing :unlimited-use warnings to be reported inside namespace 'user' instead of the actual namespace that the 'ns' form is defining, but I can look into perhaps correcting that. Let me run it on the whole crucible set of projects and see if it causes any other changes in behavior. |
I made a small additional change on top of Bronsa's. His fixes the problem reported: af34407 Mine just preserves the existing behavior in a few more cases by finishing the job he did most of: fcd64dd It isn't part of a release yet, but hopefully will be within a week or two. Thanks for reporting the issue. |
I have also added kria to the list of projects that Eastwood is regularly tested against, since it exhibited this issue with Eastwood that none of the other projects did. |
@jafingerhut @Bronsa Thanks for fixing this so quickly! |
Running Eastwood on this open source Clojure project with considerable Java interop gives many exceptions (of which I've pasted the first):
The text was updated successfully, but these errors were encountered: