def hit
import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Emptyimport Base
import bolt@1.27.0.0/src/finding.bend as F
268# the finding a test makes, if any, before the rest
269def hit(mm: Maybe<&2, Hit>, +path: String, more: List<&2, F.Finding>) -> List<&2, F.Finding>:
270 match mm:
271 case None{}:
272 more
273 case Some{Hit{ll, cc, msg}}:
274 F.Finding{path, ll, cc, 9, "empty", msg} <> more