def run
bend-lint-rules@0.2.0.0 · performance/gpu_fit.bend:333
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
333def run(+here: Lint.Here) -> Lint.Ask(List<&2, Lint.Finding>):
334 +sources = Lint.Here.sources(here)
335 +defs = Lint.Program.defs(sources, Map.new(&2, Maybe<&2, Lint.Def>))
336 Lint.done(
337 Lint.visit(
338 ~Program,
339 ~Lint.Finding,
340 ~visit,
341 Program{
342 defs,
343 program.under(sources, defs),
344 program.slots(sources, []),
345 bangs(Lint.Here.text(here), 0, [])
346 },
347 Lint.Here.nodes(here)
348 )
349 )