def check.role
bolt@1.27.0.0 · src/rules/correctness/hole.bend:49
import bolt@1.27.0.0/src/rules/correctness/hole.bend as Hole
import Base
import bolt@1.27.0.0/src/role.bend as Role
import bolt@1.27.0.0/src/src.bend as Src
import bolt@1.27.0.0/src/finding.bend as F
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
49
50def check.role(rr: Role.Role, ss: Src.Src) -> List<&2, F.Finding>:
51 Src.Src{path, text, toks, tree, bound, items} = ss
52 Lazy.stop(List<&2, F.Finding>, Role.is_laws(rr), [], _u => check.go(toks, path))