Skip to content

Fix Unsubtyping on array and struct cmpxchg#8469

Merged
tlively merged 1 commit intomainfrom
unsubtyping-cmpxchg-fix
Mar 16, 2026
Merged

Fix Unsubtyping on array and struct cmpxchg#8469
tlively merged 1 commit intomainfrom
unsubtyping-cmpxchg-fix

Conversation

@tlively
Copy link
Member

@tlively tlively commented Mar 14, 2026

Struct and array cmpxchg operations allow the accessed field to be a shared or unshared eqref, but subtype-exprs.h was assuming that if it was a reference, it would be a subtype of unshared eqref only. Fix it to account for shared types as well.

Struct and array cmpxchg operations allow the accessed field to be a shared or unshared eqref, but subtype-exprs.h was assuming that if it was a reference, it would be a subtype of unshared eqref only. Fix it to account for shared types as well.
@tlively tlively requested a review from kripken March 14, 2026 16:29
@tlively tlively merged commit dc89132 into main Mar 16, 2026
17 checks passed
@tlively tlively deleted the unsubtyping-cmpxchg-fix branch March 16, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants