(component
(type (;0;)
(instance
(type (;0;) (record))
(export (;1;) "bar" (type (eq 0)))
)
)
(import "different-name" (instance (;0;) (type 0)))
(alias export 0 "bar" (type (;1;)))
(type (;2;)
(instance
(alias outer 1 1 (type (;0;)))
(export (;1;) "bar" (type (eq 0)))
(type (;2;) (func (result 1)))
(export (;0;) "a" (func (type 2)))
)
)
(import "other-name" (instance (;1;) (type 2)))
(core module (;0;)
(type (;0;) (func))
(import "other-name" "a" (func (;0;) (type 0)))
)
(alias export 1 "a" (func (;0;)))
(core func (;0;) (canon lower (func 0)))
(core instance (;0;)
(export "a" (func 0))
)
(core instance (;1;) (instantiate 0
(with "other-name" (instance 0))
)
)
)