vouillon added the bug label to Issue #10398.
vouillon opened issue #10398:
Test Case
Steps to Reproduce
Run the following command:
./target/debug/wasmtime -W=all-proposals=y subtype.wasm
Expected Results
It should not crash.
Actual Results
We get a panic:
thread 'main' panicked at crates/wasmtime/src/runtime/vm/gc/func_ref.rs:81:13: assertion failed: types.is_subtype(actual_ty, expected_ty)
Versions and Environment
Wasmtime commit: a3381e48775912a3e1a68c05180932f3ce74c5b4
Operating system: Linux
Architecture: x64
Last updated: Apr 18 2025 at 02:29 UTC