gc_fuzz: Subtype values satisfy required supertypes.#12946
gc_fuzz: Subtype values satisfy required supertypes.#12946khagankhan wants to merge 2 commits intobytecodealliance:mainfrom
Conversation
Update mutators
Subscribe to Label Actioncc @fitzgen DetailsThis issue or pull request has been labeled: "fuzzing"Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
|
I am looking at the failure... |
|
The bug was in The new test The fix is to handle this in
As part of this change, the tests were updated accordingly. This also allowed |
Small updates before cast support
types.rs:Added subtype-aware matching in
StackType::fixupfor typed struct operands. A stack value of subtypeScan now satisfy a required supertypeTby walking the existing supertype chain inTypes, instead of requiring exact type-index equality withactual <: wantedmutator.rs:add_structnow creates a rec group first when none exist, instead of failing to add a struct. This increases the chance of mutating toward struct/rec-group state rather than toward simpler table-only ops.tests.rs:New tests for new function and
StackType::fixup(...)+cc @fitzgen @eeide