|
| 1 | +(component |
| 2 | + (type (;0;) |
| 3 | + (instance |
| 4 | + (export (;0;) "x" (type (sub resource))) |
| 5 | + ) |
| 6 | + ) |
| 7 | + (import "foo:dependency/types" (instance (;0;) (type 0))) |
| 8 | + (alias export 0 "x" (type (;1;))) |
| 9 | + (import "x" (type (;2;) (eq 1))) |
| 10 | + (alias export 0 "x" (type (;3;))) |
| 11 | + (type (;4;) |
| 12 | + (instance |
| 13 | + (alias outer 1 3 (type (;0;))) |
| 14 | + (export (;1;) "x" (type (eq 0))) |
| 15 | + (type (;2;) (own 1)) |
| 16 | + (type (;3;) (func (result 2))) |
| 17 | + (export (;0;) "my-func" (func (type 3))) |
| 18 | + ) |
| 19 | + ) |
| 20 | + (import "foo:test-import/my-interface" (instance (;1;) (type 4))) |
| 21 | + (type (;5;) |
| 22 | + (component |
| 23 | + (type (;0;) |
| 24 | + (instance |
| 25 | + (export (;0;) "x" (type (sub resource))) |
| 26 | + ) |
| 27 | + ) |
| 28 | + (export (;0;) "foo:dependency/types" (instance (type 0))) |
| 29 | + ) |
| 30 | + ) |
| 31 | + (import "unlocked-dep=<test:bar>" (component (;0;) (type 5))) |
| 32 | + (instance (;2;) (instantiate 0)) |
| 33 | + (alias export 1 "my-func" (func (;0;))) |
| 34 | + (alias export 2 "foo:dependency/types" (instance (;3;))) |
| 35 | + (type (;6;) |
| 36 | + (component |
| 37 | + (type (;0;) |
| 38 | + (instance |
| 39 | + (export (;0;) "x" (type (sub resource))) |
| 40 | + ) |
| 41 | + ) |
| 42 | + (import "foo:dependency/types" (instance (;0;) (type 0))) |
| 43 | + (alias outer 1 3 (type (;1;))) |
| 44 | + (import "x" (type (;2;) (eq 1))) |
| 45 | + (type (;3;) (own 2)) |
| 46 | + (type (;4;) (func (result 3))) |
| 47 | + (import "my-func" (func (;0;) (type 4))) |
| 48 | + ) |
| 49 | + ) |
| 50 | + (import "unlocked-dep=<test:baz>" (component (;1;) (type 6))) |
| 51 | + (instance (;4;) (instantiate 1 |
| 52 | + (with "foo:dependency/types" (instance 3)) |
| 53 | + (with "my-func" (func 0)) |
| 54 | + (with "x" (type 2)) |
| 55 | + ) |
| 56 | + ) |
| 57 | +) |
0 commit comments