tests/cli/merge-world-imports-fixup-exports.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 | export a:b/[email protected]; |
| 8 | } |
| 9 | |
| 10 | package a:[email protected] { |
| 11 | interface foo { |
| 12 | type t = u32; |
| 13 | } |
| 14 | |
| 15 | interface bar { |
| 16 | use foo.{t}; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | package a:[email protected] { |
| 21 | interface foo { |
| 22 | type t = u32; |
| 23 | } |
| 24 | } |