diff options
Diffstat (limited to 'src/tools/wasm2js.cpp')
-rw-r--r-- | src/tools/wasm2js.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/wasm2js.cpp b/src/tools/wasm2js.cpp index feba358c4..286f89890 100644 --- a/src/tools/wasm2js.cpp +++ b/src/tools/wasm2js.cpp @@ -809,6 +809,9 @@ void AssertionEmitter::emit() { // Skip other action assertions. continue; } + } else if (std::get_if<AssertModule>(assn)) { + // Skip module assertions + continue; } else { Fatal() << "unsupported assertion on line " << script[i].line; } |