def Def.called.visit
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport Base
916# The definition an application below `path` calls by name.
917def Def.called.visit(+u: Unit, +path: List<&2, Above>, +node: Node) -> List<&2, String>:
918 match node:
919 case Node{Application{}, n, s, Con{Node{Reference{t}, rn, rs, rk, rf}, args}, f}:
920 [t]
921 case _:
922 []