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
Errors are incomprehensible #79
Comments
What version of Marginalia are you using? Likewise, how are you executing it? Do you have code that we could look at? |
I'm having all sorts of other problems with Clojure 1.3 so this is 1.2. The main error I get is "Caused by: clojure.lang.LispReader$ReaderException: java.lang.IllegalArgumentException: Duplicate key: :xmlns" |
I just got the 'Map literal' error. It seems to be related to parsing the following map literal: {:xlink:href link :target "_top"} I guess it's parsing the keyword with the colon in the middle as two separate keys (although, again, the code compiles and works fine) |
Here are failing/passing test cases to illustrate the problem: Failing: (ns test-fail)
(def test {:xmlns:test "http://example.com/"}) output is:
Passing: (ns test-pass)
(def test {:xmlns_test "http://example.com/"}) (Running with |
This was duplicated with #165 but I still think it might be worth exploring making the error messages better |
I am trying to run marginalia against my source tree but I'm getting incomprehensible error messages and I have no hint as to how to fix them. I tried Clojure 1.2 and 1.3 - and got different errors.
Here's the errors when run with Clojure 1.3:
There is no hint as to which file generated this error or which line number it was on. Same with the warning messages - what do they relate to?
The text was updated successfully, but these errors were encountered: