Debian Codegraph @

tests/snapshots/cli/component-model-gc/enum-types.wast/0.print

raw
1 (component
2 (type $enum (;0;) (enum "a" "b" "c"))
3 (core type $ty (;0;) (func (param i32)))
4 (type (;1;)
5 (instance
6 (alias outer 1 $enum (type (;0;)))
7 (export (;1;) "ty" (type (eq 0)))
8 (type (;2;) (func (param "x" 1)))
9 (export (;0;) "f" (func (type 2)))
10 )
11 )
12 (import "i" (instance $i (;0;) (type 1)))
13 (alias export $i "f" (func (;0;)))
14 (core func (;0;) (canon lower (func 0) gc string-encoding=utf8 (core-type $ty)))
15 )