def note_from
import bolt@1.27.0.0/src/rules/pedantic/rewalk.bend as Rewalkimport Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree
654# a let or a field binding of exactly one call
655def note_from(st: Lhs, +rhs: Tree.Node) -> Maybe<&2, Note>:
656 Lhs{seen, extra, field, +nm} = st
657 note_rhs(Bool.and(seen, Bool.not(extra)), field, nm, as_call(rhs))