ReusedBinder.scrutinee: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/language/reused_binder.bend as ReusedBinder Lines 50-60 of bend-lint-rules@0.2.0.0/language/reused_binder.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/language/reused_binder.bend&start_line=50&end_line=60 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # The binders a match takes apart: the variables right under it, its scrutinees. In a case, they stand for the matched # constructor. def scrutinee(+u: Unit, +path: List<&2, Lint.Above>, +node: Lint.Node) -> List<&2, U32>: match path node: case Con{ Lint.Above{Lint.Node{Lint.Match{}, mn, ms, mk, mf}, at}, up } Lint.Node{Lint.Variable{b}, n, s, k, f}: [b] case _ _: [] Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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