Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wasmparser: Fix subtyping depth indexing
fix: #1967 This patch addresses an issue in subtyping depth checking where `set_subtyping_depth` indexes the depth by `CoreTypeId`, but `get_subtyping_depth` accesses it using `CoreTypeId#index` (`u32`). This leads to "IndexMap: index out of bounds" error when validating WasmGC components with subtypes. However, I have no idea why this issue occurs specifically in WasmGC components and not in WasmGC modules.
- Loading branch information