diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm/literal.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wasm/literal.cpp b/src/wasm/literal.cpp index 49d3cbf63..3f6ca8ff5 100644 --- a/src/wasm/literal.cpp +++ b/src/wasm/literal.cpp @@ -120,7 +120,12 @@ Literal::~Literal() { // Nothing special to do. } else { // Basic types need no special handling. - assert(type.isBasic()); + // TODO: change this to an assert after we figure out the underlying issue + // on the release builder + // https://github.com/WebAssembly/binaryen/issues/3459 + if (!type.isBasic()) { + Fatal() << "~Literal on unhandled type: " << type << '\n'; + } } } |