def check.tight
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
784# the last parameter (the head: spans are reversed) runs onto the `)` line
785def check.tight(spans: List<&2, Span>, +close: U32) -> Bool:
786 match spans:
787 case Nil{}:
788 False{}
789 case Con{Span{_line, +end, _col}, _rest}:
790 Bool.not(U32.is_lt(end, close))