def judged

bend-lint-rules@0.2.0.0 · performance/gpu_fit.bend:285

import bend-lint-rules@0.2.0.0/performance/gpu_fit.bend as GpuFit
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

285def judged(
286  bang: Bool,
287  info: Maybe<&2, Lint.Def>,
288  drop: Bool,
289  callee: String,
290  caller: Maybe<&2, Lint.Def>,
291  under: Set(),
292  slots: List<&2, Slot>,
293  span: Maybe<&2, Lint.Span>
294) -> List<&2, Lint.Finding>:
295  match bang:
296    case True{}:
297      banged(info, drop, callee, under, slots, span)
298    case False{}:
299      unbanged(info, callee, caller, slots, span)

Uses (11)

Used by (1)