package foo:bar; interface foo { resource a { constructor() -> result<_, string>; } }