Sha256: 4c920ba13211fdeeabdb53341c983f002263c464f4bae2829b0dadae3308cbe8

Contents?: true

Size: 442 Bytes

Versions: 23

Compression:

Stored size: 442 Bytes

Contents

package foo:foo;

interface foo {
  use bar.{the-type};
}

interface bar {
  type the-type = u32;
}

interface baz {
  use foo.{the-type};
  use bar.{the-type as test};
}

interface empty {
}

interface use-from-empty {
  use empty.{};
  use empty.{};
}

interface use-multiple {
  use baz.{the-type, test};

  some-function: func(x: the-type) -> test;
}

interface trailing-comma {
  use foo.{the-type,};

  record the-foo { a: the-type }
}

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/use.wit
wasmtime-14.0.1 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/use.wit
wasmtime-14.0.0 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/use.wit