def check
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport 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, [])