Sha256: 599e47bda3d84e50fba004ec35786a5fc0c114e69420bd586e818e9436c517ad

Contents?: true

Size: 432 Bytes

Versions: 6

Compression:

Stored size: 432 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

6 entries across 6 versions & 1 rubygems

Version Path
wasmtime-13.0.0 ./ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use.wit
wasmtime-12.0.1 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/use.wit
wasmtime-12.0.0 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/use.wit
wasmtime-11.0.0 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit
wasmtime-10.0.1 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit
wasmtime-10.0.0 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit