Sha256: 3297a6fb9ae33618ddefc41466a85b7ea934a9c43d9a07b758943237fdf411a3

Contents?: true

Size: 367 Bytes

Versions: 4

Compression:

Stored size: 367 Bytes

Contents

world foo {
  type a = u32
  type b = a

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


interface disambiguate {
  type t = u32
}

world bar {
  import disambiguate2: self.disambiguate

  use self.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

4 entries across 4 versions & 1 rubygems

Version Path
wasmtime-9.0.4 ./ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit
wasmtime-9.0.1 ./ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit
wasmtime-8.0.0 ./ext/cargo-vendor/wit-parser-0.6.4/tests/ui/worlds-with-types.wit
wasmtime-7.0.0 ./ext/cargo-vendor/wit-parser-0.6.4/tests/ui/worlds-with-types.wit