(component (type $r' (;0;) (resource (rep i32))) (component $C (;0;) (import "x" (type $x (;0;) (sub resource))) (export (;1;) "y" (type $x)) ) (instance $c' (;0;) (instantiate $C (with "x" (type $r')) ) ) (export $c (;1;) "c" (instance $c')) (alias export $c "y" (type $r (;1;))) (core func $f (;0;) (canon resource.drop $r)) (type (;2;) (own $r)) (type (;3;) (func (param "x" 2))) (func (;0;) (type 3) (canon lift (core func $f))) (export (;1;) "f" (func 0)) )