| 1 |
(component $C |
| 2 |
(type (;0;) (tuple string bool)) |
| 3 |
(type $T (;1;) (list 0)) |
| 4 |
(type $U (;2;) (option $T)) |
| 5 |
(type (;3;) (list $T)) |
| 6 |
(type $G (;4;) (func (param "x" 3) (result $U))) |
| 7 |
(type $D (;5;) |
| 8 |
(component |
| 9 |
(alias outer $C $T (type (;0;))) |
| 10 |
(type (;1;) (list 0)) |
| 11 |
(type (;2;) (list u8)) |
| 12 |
(type (;3;) (func (param "x" 1) (result 2))) |
| 13 |
(import "f" (func (;0;) (type 3))) |
| 14 |
(alias outer $C $G (type (;4;))) |
| 15 |
(import "g" (func (;1;) (type 4))) |
| 16 |
(export (;2;) "g2" (func (type 4))) |
| 17 |
(alias outer $C $U (type (;5;))) |
| 18 |
(type (;6;) (func (result 5))) |
| 19 |
(export (;3;) "h" (func (type 6))) |
| 20 |
(import "T" (type (;7;) (sub resource))) |
| 21 |
(type (;8;) (own 7)) |
| 22 |
(type (;9;) (list 8)) |
| 23 |
(type (;10;) (func (param "x" 9))) |
| 24 |
(import "i" (func (;4;) (type 10))) |
| 25 |
(export (;11;) "T2" (type (eq 7))) |
| 26 |
(export (;12;) "U" (type (sub resource))) |
| 27 |
(type (;13;) (borrow 11)) |
| 28 |
(type (;14;) (own 12)) |
| 29 |
(type (;15;) (func (param "x" 13) (result 14))) |
| 30 |
(export (;5;) "j" (func (type 15))) |
| 31 |
) |
| 32 |
) |
| 33 |
) |