Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Jan 29, 2025

The parser trusted the type when calling setLocalName, but that method
asserts of the local index is invalid. Avoid that assertion so we reach the
proper error message later.

@kripken kripken requested a review from tlively January 29, 2025 00:52
kripken and others added 3 commits January 29, 2025 11:30
Co-authored-by: Thomas Lively <tlively123@gmail.com>
@kripken kripken merged commit 9498d5e into WebAssembly:main Jan 29, 2025
13 checks passed
@kripken kripken deleted the parse.error.func.param branch January 29, 2025 22:17
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