summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-05-12 17:18:55 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-05-12 17:18:55 -0700
commitf518f097c80c0659fbacf11fe12f89955093282b (patch)
treed26db91c5767989b3f824a0bbcf30a02259fb656 /test
parentd84fd5be60d4ead6bc9fbb3f27a710bef0c688c8 (diff)
parentc8293a3f9112ad486f6f3639fc5680d73e7559ca (diff)
downloadbinaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.gz
binaryen-f518f097c80c0659fbacf11fe12f89955093282b.tar.bz2
binaryen-f518f097c80c0659fbacf11fe12f89955093282b.zip
Merge pull request #488 from WebAssembly/error_reporting
Better error reporting
Diffstat (limited to 'test')
-rw-r--r--test/example/find_div0s.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp
index 4528c7cb4..c3a2c0750 100644
--- a/test/example/find_div0s.cpp
+++ b/test/example/find_div0s.cpp
@@ -32,7 +32,7 @@ int main() {
// The parsed code has just one element, the module. Build the module
// from that (and abort on any errors, but there won't be one here).
- SExpressionWasmBuilder builder(module, *root[0], [&]() { abort(); });
+ SExpressionWasmBuilder builder(module, *root[0]);
// Print it out
WasmPrinter::printModule(&module, std::cout);