def at.go

bolt@1.27.0.0 · src/rules/suspicious/empty.bend:251

import bolt@1.27.0.0/src/rules/suspicious/empty.bend as Empty
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

251# the test, its head read: the finding, if any
252def at.go(ok: Bool, +fm: Form, +ll: U32, +cc: U32, r4: List<&2, Lex.Tok>) -> Maybe<&2, Hit>:
253  match ok:
254    case True{}:
255      tail(taken(fm, r4), fm, ll, cc)
256    case False{}:
257      None{}

Uses (9)

Used by (1)