def conflict
import bend-toon-codec@0.1.0.0/src/expand.bend as Expandimport Base
import bend-toon-codec@0.1.0.0/src/json.bend as J
66def conflict(+strict: Bool, +segs: List<&2, String>, +leaf: J.Json) -> Result<&2, &2, String, J.Json>:
67 match strict:
68 case True{}:
69 Fail{"expansion conflict"}
70 case False{}:
71 Done{build(segs, leaf)}