(component (import "b" (type $T (;0;) (sub resource))) (type (;1;) (borrow $T)) (type (;2;) (func (param "self" 1))) (import "f" (func $f (;0;) (type 2))) (export $c (;3;) "c" (type $T)) (type (;4;) (borrow $c)) (type (;5;) (func (param "self" 4))) (export (;1;) "[method]c.foo" (func $f) (func (type 5))) )