-
Notifications
You must be signed in to change notification settings - Fork 22
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
Use Clojure resolve to resolve symbols in clj #92
Conversation
096e65d
to
bb1c6cf
Compare
(assoc v :source %)))))] | ||
(let [resolve-fn (if (uix.lib/cljs-env? env) | ||
ana/resolve-var | ||
resolve) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to add a basic test for the linter running on JVM, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah nice idea. Is it fine if the failing cases just crashes the tests? There's no is-not-thrown?
in Clojure test, and it felt quite heavy adding it just for this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since all linters are throwing, it would be actually great to have such utility! We'll use for other tests as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay cool, I will add it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are here a3da578
Thanks! |
This fixes #90