Sha256: 9603f8e41be92f30b0f2a513e4ad788b53423c61d5391ffba86d45163f36345a

Contents?: true

Size: 840 Bytes

Versions: 38

Compression:

Stored size: 840 Bytes

Contents

(type T (enum))
(type U (enum))
(type V (enum))

(convert T U t_to_u)
(convert U V u_to_v)

(decl t_to_u (T) U)
(decl u_to_v (U) V)
(decl t_to_v (T) V)
(decl v_to_t (V) T)

(extern constructor t_to_u t_to_u)
(extern extractor u_to_v u_to_v)
(extern constructor t_to_v t_to_v_ctor)
(extern extractor t_to_v t_to_v_etor)
(extern extractor v_to_t v_to_u_etor)

;; We should fail to find a converter here. Given only the types, we
;; might expect u_to_v to be implicitly inserted in the RHS, but
;; u_to_v has only an extractor, not a constructor, associated.
(decl Test1 (U) V)
(rule (Test1 u) u)

;; We should fail to find a converter here. Given only the types, we
;; might expect t_to_u to be implicitly inserted in the LHS, but t_to_u
;; has only a constructor, not an extractor, associated.
(decl Test2 (U) V)
(rule (Test2 (v_to_t v)) v)

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/cranelift-isle-0.116.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-28.0.0 ./ext/cargo-vendor/cranelift-isle-0.115.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-27.0.0 ./ext/cargo-vendor/cranelift-isle-0.114.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-26.0.0 ./ext/cargo-vendor/cranelift-isle-0.113.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-25.0.2 ./ext/cargo-vendor/cranelift-isle-0.112.2/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-25.0.1 ./ext/cargo-vendor/cranelift-isle-0.112.1/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-25.0.0 ./ext/cargo-vendor/cranelift-isle-0.112.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-24.0.0 ./ext/cargo-vendor/cranelift-isle-0.111.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-23.0.2 ./ext/cargo-vendor/cranelift-isle-0.110.2/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-22.0.0 ./ext/cargo-vendor/cranelift-isle-0.109.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-21.0.1 ./ext/cargo-vendor/cranelift-isle-0.108.1/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-20.0.2 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-20.0.0 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-18.0.3 ./ext/cargo-vendor/cranelift-isle-0.105.3/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-17.0.1 ./ext/cargo-vendor/cranelift-isle-0.104.1/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-17.0.0 ./ext/cargo-vendor/cranelift-isle-0.104.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-16.0.0 ./ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-15.0.1 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-15.0.0 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/fail/converter_extractor_constructor.isle
wasmtime-14.0.4 ./ext/cargo-vendor/cranelift-isle-0.101.4/isle_examples/fail/converter_extractor_constructor.isle