Sha256: 5f3fb4ffe2b88282684dc4cb59ddc1659f4b115f83d23ff82fc9c6eb97037503

Contents?: true

Size: 1.4 KB

Versions: 38

Compression:

Stored size: 1.4 KB

Contents

(witx $a
  (typename $a bool))
(witx $b
  (typename $a (variant (case $false) (case $true))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (expected (error))))
(witx $b
  (typename $a (variant (case $ok) (case $err))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (expected (error u32))))
(witx $b
  (typename $a (variant (case $ok) (case $err u32))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (expected u32 (error))))
(witx $b
  (typename $a (variant (case $ok u32) (case $err))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (expected u32 (error u64))))
(witx $b
  (typename $a (variant (case $ok u32) (case $err u64))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (flags $a $b)))
(witx $b
  (typename $a (record (field $a bool) (field $b bool))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (enum $a $b)))
(witx $b
  (typename $a (variant (case $a) (case $b))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a string))
(witx $b
  (typename $a (list char)))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (tuple u32 u64)))
(witx $b
  (typename $a (record (field $0 u32) (field $1 u64))))
(assert_representable eq $a "a" $b "a")

(witx $a
  (typename $a (union u32 u64)))
(witx $b
  (typename $a (variant (case $0 u32) (case $1 u64))))
(assert_representable eq $a "a" $b "a")

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-28.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-27.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-26.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-25.0.2 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-25.0.1 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-25.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-24.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-23.0.2 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-22.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-21.0.1 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-20.0.2 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-20.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-18.0.3 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-17.0.1 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-17.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-16.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-15.0.1 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-15.0.0 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt
wasmtime-14.0.4 ./ext/cargo-vendor/witx-0.9.1/tests/witxt/shorthand.witxt