tests/cli/world-merging-export-semantic-change.wit
raw| 1 | // FAIL: component embed --dummy --world into % | component embed --world %from % | component wit |
| 2 | |
| 3 | package a:b; |
| 4 | |
| 5 | interface i1 { |
| 6 | type t = u32; |
| 7 | } |
| 8 | interface i2 { |
| 9 | use i1.{t}; |
| 10 | } |
| 11 | interface i3 { |
| 12 | use i2.{t}; |
| 13 | } |
| 14 | |
| 15 | world into { |
| 16 | export i1; |
| 17 | export i2; |
| 18 | } |
| 19 | |
| 20 | world %from { |
| 21 | export x: interface { |
| 22 | use i3.{t}; |
| 23 | } |
| 24 | } |