def scoped.put

bend-lint-pack@0.1.1.0 · common.bend:460

import bend-lint-pack@0.1.1.0/common.bend as Common
import Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint

460def scoped.put(hit: Bool, owner: String, span: Maybe<&2, Lint.Span>, out: List<&2, Seen>) -> List<&2, Seen>:
461  match hit:
462    case True{}:
463      Seen{owner, span} <> out
464    case False{}:
465      out

Uses (6)

Used by (1)