File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,11 @@ interface my-host-functions {
446
446
```
447
447
448
448
Here the ` types ` interface is not defined in ` host.wit ` but lookup will find it
449
- as it's defined in the same package, just instead in a different file.
449
+ as it's defined in the same package, just instead in a different file. Since
450
+ files are not ordered, but type definitions in the Component Model are ordered
451
+ and acyclic, the WIT parser will perform an implicit topological sort of all
452
+ parsed WIT definitions to find an acyclic definition order (or produce an error
453
+ if there is none).
450
454
451
455
When importing or exporting an [ interface] [ interfaces ] in a [ world] [ worlds ]
452
456
the same syntax is used in ` import ` and ` export ` directives:
You can’t perform that action at this time.
0 commit comments