crates/wit-parser/tests/ui/worlds-union-dedup.wit
raw| 1 | package foo:foo; |
| 2 | |
| 3 | interface a1 { } |
| 4 | interface a2 { } |
| 5 | interface b1 { } |
| 6 | interface b2 { } |
| 7 | interface c { } |
| 8 | interface d { } |
| 9 | |
| 10 | world my-world-a { |
| 11 | import a1; |
| 12 | import b1; |
| 13 | } |
| 14 | |
| 15 | world my-world-b { |
| 16 | import a1; |
| 17 | import b1; |
| 18 | } |
| 19 | |
| 20 | world union-my-world { |
| 21 | include my-world-a; |
| 22 | include my-world-b; |
| 23 | } |