def check.judge

bolt@1.27.0.0 · src/rules/style/wrap.bend:771

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy

771# the first parameter that is not alone on its own line
772def check.judge(spans: List<&2, Span>, +open: U32) -> Maybe<&2, Span>:
773  match spans:
774    case Nil{}:
775      None{}
776    case Con{+sp, +rest}:
777      Lazy.stop(Maybe<&2, Span>, check.bad(sp, open, rest), Some{sp}, _u => check.judge(rest, open))

Uses (6)

Used by (1)