def note_rhs

bolt@1.27.0.0 · src/rules/pedantic/rewalk.bend:636

import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalk
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

636# the note for a call, when the left is exactly one name
637def note_rhs(+one: Bool, +field: Bool, +nm: String, mm: Maybe<&2, Lex.Tok>) -> Maybe<&2, Note>:
638  match one:
639    case False{}:
640      note_none(mm)
641    case True{}:
642      note_some(field, nm, mm)

Uses (7)

Used by (1)