def of_maybe_kind
import bolt@1.27.0.0/src/lsp/semantic.bend as Semanticimport Base
import bolt@1.27.0.0/src/syntax/bind.bend as Bind
65# the type for a binder that may not have been found (a variable then)
66def of_maybe_kind(mm: Maybe<&2, Bind.BindKind>, name: String) -> U32:
67 match mm:
68 case None{}:
69 5
70 case Some{k}:
71 of_kind(k, name)