def check
import bolt@1.27.0.0/src/rules/suspicious/eager.bend as Eagerimport 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
163# the rule
164def check(ss: Src.Src) -> List<&2, F.Finding>:
165 Src.Src{path, text, toks, tree, bound, items} = ss
166 +ds = Calls.defs(tree)
167 check.go(ds, loops(ds), path, [])