Sha256: 5c630057f8fb9489b33f1b8465c10860a9af391dd8c7c22b36e45e308f7362e1

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

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

interface bar {
  type the-type = u32
}

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

interface empty {
}

interface use-from-empty {
  use self.empty.{}
  use pkg.%use.empty.{}
}


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

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wasmtime-9.0.4 ./ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit
wasmtime-9.0.1 ./ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit
wasmtime-8.0.0 ./ext/cargo-vendor/wit-parser-0.6.4/tests/ui/use.wit
wasmtime-7.0.0 ./ext/cargo-vendor/wit-parser-0.6.4/tests/ui/use.wit
wasmtime-6.0.1 ./ext/cargo-vendor/wit-parser-0.6.2/tests/ui/use.wit
wasmtime-6.0.0 ./ext/cargo-vendor/wit-parser-0.6.2/tests/ui/use.wit