def looping

bend-lint-rules@0.2.0.0 · performance/eager_branch.bend:120

import bend-lint-rules@0.2.0.0/performance/eager_branch.bend as EagerBranch
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

120def looping(
121  hit: Bool,
122  path: List<&2, Lint.Above>,
123  callee: String,
124  own: Bool
125) -> List<&2, Lint.Finding>:
126  match hit:
127    case True{}:
128      judged(eagerly(path, None{}), callee, own)
129    case False{}:
130      []

Uses (8)

Used by (1)