I get this error:
gen.cljc:1:57: error: Invalid digit ` in unicode character.
Which is weird since I use ` a lot and it has never complained + there is actually nothing on 1:57
And it complains even if I delete all ` from the namespace
never seen that error before
perhaps you're loading hooks?
set aside your clj-kondo config to be sure it's nothing related to that
Not it... I don't know when it appeared. I must have changed something and it somehow confused the linter. But the namespace compiles and works well
maybe try setting aside your entire .clj-kondo
dir including the cache
Alright, I got it I think. On a completely different line I have this docstring:
"Any valid character for hexadecimal notation, from `\0` to `\f`."
I mean, this is problematic:
`\0
`do you think clj-kondo should accept it, hence a false positive?
It is a false positive, I was trying to highlight \0 in markdown for documentation but it thinks I am trying to write a unicode char \0`
But it's very specific, I wouldn't worry too much about it, it's just puzzling when it happens
feel free to post an issue, it might be a rewrite-clj specific thing
or tools.reader
Hmmm, I am sure I am right with that \0 unicode thing (since error goes away) yet I can't reproduce it in a minimal ns. Must be some kind of weird interaction. I can't share publicly this namespace. But it's probably an exceptional case, so no big deal at all.