def program.under

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

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

178# The definitions under which a parallel let runs: in them, or under what they call. Of Base's, Image.free forks, and
179# Image.drop, through it.
180def program.under(sources: List<&2, Lint.Source>, +defs: Map<&2, Maybe<&2, Lint.Def>>) -> Set():
181  Lint.Program.callers(
182    sources,
183    defs,
184    Set.from_list(
185      forking(Map.keys(&2, Maybe<&2, Lint.Def>, defs), defs, ["Image.free", "Image.drop"])
186    )
187  )

Uses (10)

Used by (2)