the `ok` type must be the resource being constructed --> tests/ui/parse-fail/bad-resource16.wit:5:22 | 5 | constructor() -> result<_, string>; | ^-----