Debian Codegraph @

tests/cli/merge-semver-update-all-worlds.wit

raw
1 // RUN: component wit --merge-world-imports-based-on-semver a %
2
3 package foo:bar;
4
5 world a {
6 import a:b/[email protected];
7 import a:b/[email protected];
8 }
9
10 world b {
11 import a:b/[email protected];
12 }
13
14 package a:[email protected] {
15 interface foo {
16 type t = u32;
17 }
18
19 interface bar {
20 use foo.{t};
21 }
22 }
23
24 package a:[email protected] {
25 interface foo {
26 type t = u32;
27 }
28
29 interface bar {
30 use foo.{t};
31 }
32 }
33