def records.step

bend-lint-rules@0.2.0.0 · performance/template_value_field.bend:36

import bend-lint-rules@0.2.0.0/performance/template_value_field.bend as TemplateValueField
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

36def records.step(+u: Unit, +node: Lint.Node, found: Bool) -> Bool:
37  match node:
38    case Lint.Node{
39      Lint.Field{b, q},
40      n,
41      s,
42      Con{Lint.Node{Lint.Forall{fb, fq}, fn, fs, fk, ff}, rest},
43      f
44    }:
45      True{}
46    case _:
47      found

Uses (5)

Used by (1)