-
Notifications
You must be signed in to change notification settings - Fork 177
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
Name collision causes an exception during debugging #846
Comments
Interesting, thanks! Worth noting, Linters such as clj-kondo https://github.com/clj-kondo/clj-kondo/blob/b5c63bfc9ee0066b202945a6186749af8e66af6e/doc/linters.md#shadowed-var and Eastwood https://github.com/jonase/eastwood?tab=readme-ov-file#local-shadows-var can lint against that kind of thing, as it's commonly frowned upon practice. I'm not saying "don't do that", but generally, misc tooling will work better when following the best practice. Most practically, here it means that you might not get support quickly (the debugger middleware doesn't often get maintenance). |
Sure, thanks! We can figure out how to add a test as you open the PR. |
I use di in my project and there is a lot of code like this
Unfortunately, I can't use the debugger.
Expected behavior
I can successfully execute
caller
with debugger mode.Actual behavior
It shows value of
(service* 1 2)
but fails on(service 1 2)
.Environment & Version information
cider-nrepl version
Java version
21.0.1
Operating system
mac os x 13.6.1
The text was updated successfully, but these errors were encountered: