def place.of
import ezx@1.11.0.0/src/tool/plan.bend as Planimport Base
import ezx@1.11.0.0/src/ez/target.bend as Tgt
157# where a resolved target is
158def place.of(found: Src) -> Tgt.Place:
159 match found:
160 case Pin{_n, url, _r, _o}:
161 place.pin(Tgt.classify(url))
162 case Free{pl}:
163 pl
164 case NoSrc{why}:
165 Tgt.Bad{why}