Skip to content

wasmparser(CM+GC): Assert that we never define new core types inside SubtypeArenas #2168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Apr 29, 2025

This is adds an assertion that we don't introduce new core types inside SubtypeArenas, which would break type canonicalization (and therefore our ability to cheaply check if two core types are the same).

@fitzgen fitzgen requested a review from alexcrichton April 29, 2025 17:28
@fitzgen fitzgen enabled auto-merge April 29, 2025 17:34
@fitzgen fitzgen added this pull request to the merge queue Apr 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 29, 2025
@alexcrichton alexcrichton added this pull request to the merge queue Apr 29, 2025
Merged via the queue into bytecodealliance:main with commit c493b87 Apr 29, 2025
32 checks passed
@fitzgen fitzgen deleted the assert-no-new-core-types-in-subtype-arena branch April 29, 2025 20:24
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