Skip to content

Fix assertion locations in memflags after #7903#7906

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
elliottt:trevor/assertion-locations
Feb 9, 2024
Merged

Fix assertion locations in memflags after #7903#7906
alexcrichton merged 1 commit intobytecodealliance:mainfrom
elliottt:trevor/assertion-locations

Conversation

@elliottt
Copy link
Member

@elliottt elliottt commented Feb 9, 2024

In #7903 I reworked the set and with functions on MemFlags to use the with variant internally, to enable further use of const. However, I didn't move the assertions from the set to the with methods, meaning that there was now a path that would avoid them. This follow-up fixes that mistake by moving the assertions into the with functions.

@elliottt elliottt requested a review from a team as a code owner February 9, 2024 19:00
@elliottt elliottt requested review from fitzgen and removed request for a team February 9, 2024 19:00
@elliottt elliottt changed the title Fix assertion locations in memflags after #7093 Fix assertion locations in memflags after #7903 Feb 9, 2024
@alexcrichton alexcrichton added this pull request to the merge queue Feb 9, 2024
Merged via the queue into bytecodealliance:main with commit 22bdf2b Feb 9, 2024
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