Sha256: a2e6d00eafed8d6c6278dc9cddbc2ab2542f836869f564cf449625fddc9476e8

Contents?: true

Size: 369 Bytes

Versions: 23

Compression:

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

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-14.0.3 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/worlds-with-types.wit
wasmtime-14.0.1 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/worlds-with-types.wit
wasmtime-14.0.0 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/worlds-with-types.wit