| 1 |
(component |
| 2 |
(type $i (;0;) |
| 3 |
(instance |
| 4 |
(export (;0;) "r" (type (sub resource))) |
| 5 |
(type (;1;) (own 0)) |
| 6 |
(type (;2;) (func (result 1))) |
| 7 |
(export (;0;) "f" (func (type 2))) |
| 8 |
) |
| 9 |
) |
| 10 |
(import "i1" (instance $i1 (;0;) (type $i))) |
| 11 |
(import "i2" (instance $i2 (;1;) (type $i))) |
| 12 |
(component $c (;0;) |
| 13 |
(import "r" (type $t (;0;) (sub resource))) |
| 14 |
(type (;1;) (own $t)) |
| 15 |
(type (;2;) (func (result 1))) |
| 16 |
(import "f" (func (;0;) (type 2))) |
| 17 |
) |
| 18 |
(alias export $i1 "r" (type (;1;))) |
| 19 |
(alias export $i1 "f" (func (;0;))) |
| 20 |
(instance (;2;) (instantiate $c |
| 21 |
(with "r" (type 1)) |
| 22 |
(with "f" (func 0)) |
| 23 |
) |
| 24 |
) |
| 25 |
(alias export $i2 "r" (type (;2;))) |
| 26 |
(alias export $i2 "f" (func (;1;))) |
| 27 |
(instance (;3;) (instantiate $c |
| 28 |
(with "r" (type 2)) |
| 29 |
(with "f" (func 1)) |
| 30 |
) |
| 31 |
) |
| 32 |
) |