Sha256: 5c93d48a770de73474490c662e4ca1889f5bb863dce883833c2871f19589c80e

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

package foo:foo

world foo {
  type a = u32
  type b = a

  export c: func(a: a) -> b
}


interface disambiguate {
  type t = u32
}

world bar {
  import disambiguate

  use disambiguate.{t}

  export foo: func() -> t
}

world the-test {
  record a {
    x: u32,
  }

  variant b {
    c(a),
  }

  import foo: func(a: a) -> b
  export bar: func(a: a) -> b
}

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/worlds-with-types.wit
wasmtime-12.0.1 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/worlds-with-types.wit
wasmtime-12.0.0 ./ext/cargo-vendor/wit-parser-0.9.2/tests/ui/worlds-with-types.wit
wasmtime-11.0.0 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit
wasmtime-10.0.1 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit
wasmtime-10.0.0 ./ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit