diff options
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r-- | src/wasm/wasm-validator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp index 516bb86e1..64c7fda02 100644 --- a/src/wasm/wasm-validator.cpp +++ b/src/wasm/wasm-validator.cpp @@ -720,8 +720,7 @@ void FunctionValidator::validateNormalBlockElements(Block* curr) { if (!shouldBeTrue( !curr->list[i]->type.isConcrete(), curr, - "non-final block elements returning a value must be drop()ed " - "(binaryen's autodrop option might help you)") && + "non-final block elements returning a value must be dropped") && !info.quiet) { getStream() << "(on index " << i << ":\n" << curr->list[i] << "\n), type: " << curr->list[i]->type |