def Bound.texts

bend-lint-rules@0.2.0.0 · performance/missed_fork.bend:310

import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork
import Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint

310def Bound.texts(
311  bounds: List<&2, Bound>,
312  +text: String,
313  written: List<&2, String>,
314  called: List<&2, String>
315) -> List<&2, String>
316  & List<&2, String>:
317  match bounds:
318    case Nil{}:
319      (written, called)
320    case Con{Bound{f, w, b, Lint.Node{s, n, span, k, fs}}, rest}:
321      Bound.texts(rest, text, w <> written, Lint.Span.text(text, span) <> called)

Uses (7)

Used by (1)