def under
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
696# An error found under a step gets the step in front of its path.
697def under(+st: Step, m: Maybe<&2, Err>) -> Maybe<&2, Err>:
698 match m:
699 case None{}:
700 None{}
701 case Some{Err{p, w}}:
702 Some{Err{st <> p, w}}