def errors.at

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

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

571# one more at error, or the count as it was
572def errors.at(ll: Config.Level, more: U32) -> U32:
573  match ll:
574    case Config.Off{}:
575      more
576    case Config.Warn{}:
577      more
578    case Config.Error{}:
579      U32.inc(more)

Uses (3)

Used by (1)