Closed frenchy64 closed 3 years ago
Cheers for the report, I'll make sure to add tools.reader to the git submodules we lint as part of Eastwood's CI pipeline
Turns out by inlining the file, you get a better error message from eastwood. This is the offending line:
These values fail to be read: "\340"
, "\377"
.
This is the new error on my fork:
Looks like a matter of backporting https://github.com/clojure/tools.reader/commit/d0e416e6ba2fd20396a1d2039fc1e13dd809c8ee
I should upgrade tools.reader if at hand (we have a funny way to bundle it)
Thanks again!
0.9.6 is out 🚀
If you try and lint https://github.com/clojure/tools.reader/commit/3b0211b3504e9a8e321bfaa16fe6d5f517fa44be you get the following error:
It has something to do with reading an octal number in this file: https://github.com/clojure/tools.reader/blob/3b0211b3504e9a8e321bfaa16fe6d5f517fa44be/src/test/clojure/clojure/tools/common_tests.clj
To work around this in my tools.reader fork, I inlined this file instead of
load
ing it. It would be nice if eastwood gave a little more information, like the specific exception and/or file.