Debian Codegraph @

tests/cli/dummy-async-resource-with-stream.wit

raw
1 // RUN: component embed % --dummy-names legacy --async-callback | \
2 // component new | \
3 // validate -f cm-async,cm-error-context
4
5 package a:b;
6
7 world c {
8 import i: interface {
9 resource r {
10 f: func(s: stream<r>);
11 }
12 }
13 }