Fork me on GitHub
#clj-kondo
<
2023-04-10
>
vemv17:04:35

before I try to repro more carefully... is there any particular reason why :lint-as would not work? I still see unresolved-symbol within the defn, and unresolved var for the produced var ...I've used lint-as lots in the past, fairly sure I'm not doing sth dumb 😸 (and I cleaned the cache for good measure)

borkdude17:04:23

hard to tell without an example / repro :)

vemv17:04:42

sure, I was looking for something like "it has so-and-so edge case / limitation" this is a private codebase

borkdude17:04:13

the only reason that comes to mind that it might be a configuration typo

borkdude17:04:27

or the custom defn is not like the original defn syntactically

vemv18:04:09

> or the custom defn is not like the original defn syntactically (edited) that was it! it was almost like a defn, except for a nuance. clj-kondo.lint-as/def-catch-all fits better than defn .

👍 1
🎉 1