Skip to content
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

Running kibit --replace on code with namespace aliased keywords introduces regression #203

Open
codeasone opened this issue Oct 11, 2017 · 1 comment
Labels

Comments

@codeasone
Copy link

Minimal re-production: https://github.com/codeasone/kibit-namespace-aliased-keywords

Running lein kibit --replace --interactive on core.clj with namespace aliased keywords introduces a regression:

➜  kibit-namespace-aliased-keywords git:(master) ✗ lein kibit --replace --interactive
Would you like to replace
  (-> something :spec/something)
 with
  (:spec/something something)
in src/kibit_namespace_aliased_keywords/core.clj:6? [yes/no] yes

regression

Executing (foobar) with now returns nil rather than the value 1234 as expected.

@yannvanhalewyn
Copy link

👍 Just experienced the same thing, could be dangerous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants