(component (type $t (;0;) (resource (rep i32))) (component $c (;0;) (import "x" (type $t (;0;) (sub resource))) (export (;1;) "y" (type $t)) ) (instance $c1 (;0;) (instantiate $c (with "x" (type $t)) ) ) (instance $c2 (;1;) (instantiate $c (with "x" (type $t)) ) ) (component $c2 (;1;) (import "x1" (type $t (;0;) (sub resource))) (import "x2" (type (;1;) (eq $t))) (import "x3" (type (;2;) (eq $t))) ) (alias export $c1 "y" (type (;1;))) (alias export $c2 "y" (type (;2;))) (instance (;2;) (instantiate $c2 (with "x1" (type $t)) (with "x2" (type 1)) (with "x3" (type 2)) ) ) )