I think I have found another possible bug. When working with meander in a project, the following snippet:
(meander/match
;; input
{:foo nil}
;; pattern
{:foo (meander/or (meander/and nil ?bar)
{:bar ?bar})}
;; expression
:aaa)
gives the warnings:
1. Unresolved var: meander/or [unresolved-var]
2. Unresolved var: meander/and [unresolved-var]
even though the I have required [meander.epsilon :as meander] I suppose this happens because meander/match is a macro?It depends on how meander defines or
it uses a defsyntax macro
this needs configuration
preferably this configuration would be submitted to meander so everybody could profit from it
ah so macros do not work automagically with clj-kondo?
no, clj-kondo does't run your code so it always needs some configuration around macros
you can choose to just turn off linting inside meander though, as a quick option
I see
thank you as always borkdude, you are the fastest responder I have ever known