Files
cli/vendor/wit-parser/tests/ui/with-resource-as.wit

16 lines
221 B
Plaintext
Raw Normal View History

package foo:foo;
world a {
resource r {
constructor();
m: func();
sm: static func();
}
import f: func(x: r) -> option<r>;
export g: func(x: r) -> option<r>;
}
world b {
include a with { r as s }
}