Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Jul 25, 2024

We used the target's type for the read from the source, but due to subtyping those
might be different.

Found by the fuzzer.

@kripken kripken requested a review from tlively July 25, 2024 15:19
// we were confused earlier and the target should not be.
assert(sourceBase);

// The source and target may have different lane types due to subtyping
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually we use "element" rather than "lane" to describe tuple elements. ("lane" is specific to SIMD vectors.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed. Also fixed some existing appearances.

@kripken kripken merged commit d903dd3 into WebAssembly:main Jul 25, 2024
@kripken kripken deleted the tuple.opt.sub branch July 25, 2024 17:17
@gkdn gkdn mentioned this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants