Skip to content

Commit 8bbb394

Browse files
committed
Cut redundant paragraph and example
1 parent b2f2178 commit 8bbb394

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

design/mvp/WIT.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -290,34 +290,6 @@ world union-my-world {
290290
}
291291
```
292292

293-
The `include` statement also works with [WIT package](#wit-packages-and-use) defined below with the same semantics. For example, the following World `union-my-world-a` is equivalent to `union-my-world-b`:
294-
295-
```wit
296-
package local:demo;
297-
298-
interface b { ... }
299-
interface a { ... }
300-
301-
world my-world-a {
302-
import a;
303-
import b;
304-
import wasi:io/c;
305-
export d: interface { ... }
306-
}
307-
308-
world union-my-world-a {
309-
include my-world-a;
310-
}
311-
312-
world union-my-world-b {
313-
import a;
314-
import b;
315-
import wasi:io/c;
316-
317-
export d: interface { ... }
318-
}
319-
```
320-
321293
### De-duplication of IDs
322294

323295
If two worlds shared the same set of import and export IDs, then the union of the two worlds will only contain one copy of this set. For example, the following two worlds `union-my-world-a` and `union-my-world-b` are equivalent:

0 commit comments

Comments
 (0)