def check.shares
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
757# another parameter already sits on this line
758def check.shares(spans: List<&2, Span>, +ln: U32) -> Bool:
759 match spans:
760 case Nil{}:
761 False{}
762 case Con{Span{+line, _end, _col}, rest}:
763 Lazy.or_else(U32.is_eq(line, ln), _u => check.shares(rest, ln))