def lets
import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedForkimport Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
446# The findings about the runs of lets from a node, if it starts one (`head`).
447def lets(head: Bool, node: Lint.Node, owner: Owner) -> List<&2, Lint.Finding>:
448 match head:
449 case True{}:
450 chain(node, owner, Run{[], [], []})
451 case False{}:
452 []