def check

bolt@1.27.0.0 · src/rules/pedantic/rewalk.bend:901

import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk
import Base
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/finding.bend as F
import bolt@1.27.0.0/src/rules/calls.bend as Calls

901# the rule
902def check(ss: Src.Src) -> List<&2, F.Finding>:
903  Src.Src{path, text, toks, tree, bound, items} = ss
904  +ds = Calls.defs(tree)
905  check.go(ds, loops(ds), path, [])

Uses (6)

Used by (1)