Closed valerauko closed 4 months ago
The current rewrite hook doesn't include the (hidden) context argument.
(def foo (f/build [_] m/Container)) (foo ctx 42)
error: user/foo is called with 2 args but expects 1
Passes lint
Prepend _ctx to the rewritten build argsvec
_ctx
Problem
The current rewrite hook doesn't include the (hidden) context argument.
Example
Before
After
Passes lint
How
Prepend
_ctx
to the rewritten build argsvec