def Owners.note
import bend-lint-pack@0.1.1.0/common.bend as Commonimport Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint
43# Template instances are skipped, so a template is seen once, as itself.
44def Owners.note(acc: Owners, +owner: String, inst: Bool, span: Maybe<&2, Lint.Span>) -> Owners:
45 match acc:
46 case Owners{list, +set}:
47 Owners.seen(list, Set.has(set, owner), owner, inst, span)