Sha256: e0fb084d24c8511c1473e03fe139f34d978779e95efc474377a8975b67d5ca41

Contents?: true

Size: 527 Bytes

Versions: 23

Compression:

Stored size: 527 Bytes

Contents

package foo:bar;

interface foo {
  resource a {
  }

  resource b {
    constructor();
  }

  resource c {
    constructor(x: u32);
  }

  resource d {
    constructor(x: u32);

    a: func();

    b: static func();
  }

  resource e {
    constructor(other: own<e>, other2: borrow<e>);

    method: func(thing: own<e>, thing2: borrow<e>);
  }
}

world w {
  resource a;

  resource b {
  }

  resource c {
    constructor();
  }
}

interface i {
  resource a;

  type t1 = a;
  type t2 = borrow<a>;
  type t3 = borrow<t1>;
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/resources.wit
wasmtime-28.0.0 ./ext/cargo-vendor/wit-parser-0.221.2/tests/ui/resources.wit
wasmtime-27.0.0 ./ext/cargo-vendor/wit-parser-0.219.1/tests/ui/resources.wit
wasmtime-26.0.0 ./ext/cargo-vendor/wit-parser-0.218.0/tests/ui/resources.wit
wasmtime-25.0.2 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/resources.wit
wasmtime-25.0.1 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/resources.wit
wasmtime-25.0.0 ./ext/cargo-vendor/wit-parser-0.217.0/tests/ui/resources.wit
wasmtime-24.0.0 ./ext/cargo-vendor/wit-parser-0.215.0/tests/ui/resources.wit
wasmtime-23.0.2 ./ext/cargo-vendor/wit-parser-0.212.0/tests/ui/resources.wit
wasmtime-22.0.0 ./ext/cargo-vendor/wit-parser-0.209.1/tests/ui/resources.wit
wasmtime-21.0.1 ./ext/cargo-vendor/wit-parser-0.207.0/tests/ui/resources.wit
wasmtime-20.0.2 ./ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources.wit
wasmtime-20.0.0 ./ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources.wit
wasmtime-18.0.3 ./ext/cargo-vendor/wit-parser-0.13.2/tests/ui/resources.wit
wasmtime-17.0.1 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/resources.wit
wasmtime-17.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/resources.wit
wasmtime-16.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/resources.wit
wasmtime-15.0.1 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/resources.wit
wasmtime-15.0.0 ./ext/cargo-vendor/wit-parser-0.13.0/tests/ui/resources.wit
wasmtime-14.0.4 ./ext/cargo-vendor/wit-parser-0.12.1/tests/ui/resources.wit