| 1 |
(component |
| 2 |
(type $variant (;0;) (variant (case "a" bool) (case "b" bool) (case "c" u8))) |
| 3 |
(core type $base (;0;) (sub (struct))) |
| 4 |
(core type $variant (;1;) (sub $base (struct))) |
| 5 |
(core type $ty (;2;) (func (param (ref null $variant)))) |
| 6 |
(type (;1;) |
| 7 |
(instance |
| 8 |
(alias outer 1 $variant (type (;0;))) |
| 9 |
(export (;1;) "ty" (type (eq 0))) |
| 10 |
(type (;2;) (func (param "x" 1))) |
| 11 |
(export (;0;) "f" (func (type 2))) |
| 12 |
) |
| 13 |
) |
| 14 |
(import "i" (instance $i (;0;) (type 1))) |
| 15 |
(alias export $i "f" (func (;0;))) |
| 16 |
(core func (;0;) (canon lower (func 0) gc (core-type $ty))) |
| 17 |
) |