Sha256: adc857f5752dbf55460be01bbdd19fb54dffedeb1781ea8f842a05041ae6bab5

Contents?: true

Size: 418 Bytes

Versions: 23

Compression:

Stored size: 418 Bytes

Contents

package foo:foo;

interface foo {}
interface bar {}

world the-world {
  import foo;
  import bar;
  import baz: interface {
    foo: func();
  }
  export foo;
  export bar;
  export baz2: interface {
    foo: func();
  }
}

world a-different-world {
  import foo;
}

interface i1 {
  type t = u32;
}
interface i2 {
  use i1.{t};
}
interface i3 {
  use i2.{t};
}

world test {
  import i3;
  export i1;
  export i3;
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-14.0.3 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/parse-fail/import-and-export3.wit
wasmtime-14.0.1 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/parse-fail/import-and-export3.wit
wasmtime-14.0.0 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/parse-fail/import-and-export3.wit