Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Dec 23, 2025

This avoids asserting.

Fixes #8097

const char* text,
Function* func = nullptr) {
if (!ty.isBasic()) {
fail(std::string(text) + " (not basic)", curr, func);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's worth adding more details to the error message here.

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.

[Bug] Assertion failed isBasic() in wasm::Type::getBasic during atomic.cmpxchg validation

2 participants