failed to resolve document
× mismatched instantiation argument `x`
├─▶ mismatched type for export `f`
├─▶ mismatched type for function result
╰─▶ expected an `err` for result type
╭─[tests/resolution/fail/missing-err-result-type.wac:7:23]
6 │
7 │ let i = new foo:bar { x };
· ┬
· ╰── mismatched argument `x`
╰────