crates/wit-parser/tests/ui/packages-nested-with-semver.wit
raw| 1 | package foo:root; |
| 2 | package foo:[email protected] { |
| 3 | interface i1 { |
| 4 | type a = u32; |
| 5 | } |
| 6 | |
| 7 | world w1 { |
| 8 | import imp1: interface { |
| 9 | use i1.{a}; |
| 10 | } |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | package foo:[email protected] { |
| 15 | interface i1 { |
| 16 | type a = u32; |
| 17 | } |
| 18 | |
| 19 | world w1 { |
| 20 | import imp1: interface { |
| 21 | use i1.{a}; |
| 22 | } |
| 23 | } |
| 24 | } |