1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package foo:bar@1.2.3; interface bindings { @unstable(feature = x) x: func(); @unstable(feature = y) y: func(); @since(version = 1.2.3) z: func(); } world test { export bindings; } world runner { import bindings; export run: func(); }