def warnings.at

bolt@1.27.0.0 · src/lint/plan.bend:589

import bolt@1.27.0.0/src/lint/plan.bend as Plan
import Base
import bolt@1.27.0.0/src/config.bend as Config

589# one more below error, or the count as it was
590def warnings.at(ll: Config.Level, more: U32) -> U32:
591  match ll:
592    case Config.Off{}:
593      U32.inc(more)
594    case Config.Warn{}:
595      U32.inc(more)
596    case Config.Error{}:
597      more

Uses (3)

Used by (1)