tests/snapshots/cli/component-model/resources.wast/23.print
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (instance |
| 4 | (type (;0;) |
| 5 | (instance |
| 6 | (export (;0;) "file" (type (sub resource))) |
| 7 | ) |
| 8 | ) |
| 9 | (export (;0;) "fs" (instance (type 0))) |
| 10 | (alias export 0 "file" (type (;1;))) |
| 11 | (type (;2;) (borrow 1)) |
| 12 | (type (;3;) (func (param "f" 2))) |
| 13 | (export (;0;) "fancy-op" (func (type 3))) |
| 14 | ) |
| 15 | ) |
| 16 | (import "fancy-fs" (instance $fancy-fs (;0;) (type 0))) |
| 17 | ) |