summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp
index 372c5bf6d..73731d3e5 100644
--- a/src/wasm/wasm-validator.cpp
+++ b/src/wasm/wasm-validator.cpp
@@ -1943,9 +1943,6 @@ static void validateEvents(Module& module, ValidationInfo& info) {
FunctionType* ft = module.getFunctionType(curr->type);
info.shouldBeEqual(
ft->result, none, curr->name, "Event type's result type should be none");
- info.shouldBeTrue(!curr->params.empty(),
- curr->name,
- "There should be 1 or more values in an event type");
info.shouldBeEqual(curr->attribute,
(unsigned)0,
curr->attribute,