package foo:foo@1.0.0; interface shared-only-into { variant v { c1, } bar: func(x: v); } interface shared-items { type a = u32; } world shared-world { import shared-items; export shared-items; type c = u32; import d: interface {} } interface shared-version-on-from {} @since(version = 1.0.0) interface shared-version-on-into {} world shared-world-with-versions { import shared-version-on-from; @since(version = 1.0.0) import shared-version-on-into; } world shared-world-with-versions-and-include { import shared-version-on-from; import shared-version-on-into; include shared-world-with-versions; }