-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Class/forName considered as function name (proposal: say that it must be a simple symbol) #2277
Comments
You can't officially use |
I see, did not know that!
I'd like to know what "simply" is here cause I like simple :) |
That was a typo. Writing |
In Clojure 1.12 you will be able to write |
Here is the relevant JIRA: https://clojure.atlassian.net/browse/CLJ-1381 |
I think we could improve the error message to say that the class name must be a simple symbol |
I'll leave this issue open until CLJ-2836 is resolved. |
version
2024.02.12
platform
linux - native binary
problem
I have the following in a file (for extending XTDB's handler):
The highlighter line is reported as:
src/web2/server.clj:53:27: error: Function name must be simple symbol but got: "[B"
I don't think it's a configuration error and it only happens with the latest version of
clj-kondo
.expected behavior
It should not error out as above.
The text was updated successfully, but these errors were encountered: