UnneededPlus.value.visit: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/language/unneeded_plus.bend as UnneededPlus Lines 23-34 of bend-lint-rules@0.2.0.0/language/unneeded_plus.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/language/unneeded_plus.bend&start_line=23&end_line=34 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # The definition a reference below `path` names, if it is used as a value: not as the function of an application. def value.visit(+u: Unit, +path: List<&2, Lint.Above>, +node: Lint.Node) -> List<&2, String>: match path node: case Con{ Lint.Above{Lint.Node{Lint.Application{}, n, s, k, f}, at}, up } Lint.Node{Lint.Reference{t}, rn, rs, rk, rf}: Bool.pick(List<&2, String>, U32.is_eq(at, 0), [], [t]) case _ Lint.Node{Lint.Reference{t}, rn, rs, rk, rf}: [t] case _ _: [] Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Above https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Node https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax