Debian Codegraph @

tests/snapshots/cli/component-model-gc/resource-types.wast/2.print

raw
1 (component
2 (core type $ty (;0;) (func (param externref)))
3 (type (;0;)
4 (instance
5 (export (;0;) "r" (type (sub resource)))
6 (type (;1;) (borrow 0))
7 (type (;2;) (func (param "x" 1)))
8 (export (;0;) "f" (func (type 2)))
9 )
10 )
11 (import "i" (instance $i (;0;) (type 0)))
12 (alias export $i "f" (func (;0;)))
13 (core func (;0;) (canon lower (func 0) gc string-encoding=utf8 (core-type $ty)))
14 )