liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Visit filter kwargs in Variable::ParseTreeVisitor

Open brunodccarvalho opened this issue 8 months ago • 0 comments

Variable filter named arguments are not recursed into by the current implementation which I suspect is unintended.

{{ test | default: infilter, allow_false: infilter_hash_value }}

The variable lookup infilter_hash_value here is not visited. Annoying for finding unused captures etc.

brunodccarvalho avatar Apr 11 '25 13:04 brunodccarvalho