Migrate to tools.reader to solve aliased keyword pains #198
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #14
clean for this project.clj
concerns.
alias backflips to make sure that some simple edge cases for
keyword reading are handled.
Notes:
I tested this across our internal projects which we want to integrate kibit into our CI process on, where we use a lot of namespace aliased keywords (largely due to spec)
We had previously had a blind spot past any aliased keyword in any file, so using this branch surfaced many more kibit improvements in our code base. Additionally, kibit ran to completion successfully in both projects.
We still have a blind spot in that some of our ClojureScript code contains
#js {:foo :bar}
tagged literals that are not properly handled in either clojure.core/read or clojure.tools.reader/read.Love to hear feedback if people can play with this branch on their own source trees and vet it for correctness.