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