Common.when: def of bend-lint-pack@0.1.1.0 Import: import bend-lint-pack@0.1.1.0/common.bend as Common Lines 71-77 of bend-lint-pack@0.1.1.0/common.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-pack@0.1.1.0/common.bend&start_line=71&end_line=77 import Base import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint # One diagnostic when `hit`, else none. def when(hit: Bool, d: Lint.Diag) -> List<&2, Lint.Diag>: match hit: case True{}: [d] case False{}: [] Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=Diag