def check

bolt@1.27.0.0 · src/rules/suspicious/eager.bend:163

import bolt@1.27.0.0/src/rules/suspicious/eager.bend as Eager
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

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, [])

Uses (6)

Used by (1)