Skip to content

Fix Unsubtyping on array and struct cmpxchg#8469

Open
tlively wants to merge 1 commit intomainfrom
unsubtyping-cmpxchg-fix
Open

Fix Unsubtyping on array and struct cmpxchg#8469
tlively wants to merge 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
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.

1 participant