Debian Codegraph @

tests/cli/dummy-async-export-using-export.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 interface a {
8 type a = s32;
9 }
10
11 world w {
12 export a;
13
14 export b: interface {
15 use a.{a};
16 d: func() -> a;
17 }
18 }