tests/cli/multiple-packages-one-world.wit.stdout
raw| 1 | package root:root; |
| 2 | |
| 3 | world root { |
| 4 | import test:foo1/bar; |
| 5 | |
| 6 | export test:foo2/bar; |
| 7 | } |
| 8 | package test:foo1 { |
| 9 | interface bar { |
| 10 | baz: func(s: string) -> string; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | |
| 15 | package test:foo2 { |
| 16 | interface bar { |
| 17 | baz: func(s: string) -> string; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | |
| 22 | package foo:root { |
| 23 | world hello { |
| 24 | import test:foo1/bar; |
| 25 | |
| 26 | export test:foo2/bar; |
| 27 | } |
| 28 | } |