Debian Codegraph @

tests/snapshots/cli/component-model-gc/result-types.wast/3.print

raw
1 (component
2 (type $result (;0;) (result u32 (error u8)))
3 (core type $base (;0;) (sub (struct)))
4 (core type $result (;1;) (sub $base (struct)))
5 (core type $ty (;2;) (func (param (ref null $result))))
6 (type (;1;)
7 (instance
8 (alias outer 1 $result (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 )