summaryrefslogtreecommitdiff
path: root/test/binaryen.js/validation_errors.js.txt
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-12-06 14:56:07 -0600
committerGitHub <noreply@github.com>2019-12-06 14:56:07 -0600
commitb232033385b025ba276423613fb67f644c0596ce (patch)
treeb30376610ebafcf6e44d2becb7c8eebfe4b74e7f /test/binaryen.js/validation_errors.js.txt
parent6f55457c3edbeed202f27647a2cf0482160af098 (diff)
downloadbinaryen-b232033385b025ba276423613fb67f644c0596ce.tar.gz
binaryen-b232033385b025ba276423613fb67f644c0596ce.tar.bz2
binaryen-b232033385b025ba276423613fb67f644c0596ce.zip
Don't include `$` with names unless outputting to wat format (#2506)
The `$` is not actually part of the name, its the marker that starts a name in the wat format. It can be confusing to see it show up when doing `cerr << name`, for example. This change has Print.cpp add the `$` which seem like the right place to do this. Plus it revealed a bunch of places where were not calling printName to escape all the names we were printing.
Diffstat (limited to 'test/binaryen.js/validation_errors.js.txt')
-rw-r--r--test/binaryen.js/validation_errors.js.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/binaryen.js/validation_errors.js.txt b/test/binaryen.js/validation_errors.js.txt
index da70a7ccd..42533ee18 100644
--- a/test/binaryen.js/validation_errors.js.txt
+++ b/test/binaryen.js/validation_errors.js.txt
@@ -1,8 +1,8 @@
-[wasm-validator error in function $test] unexpected false: global.get name must be valid, on
+[wasm-validator error in function test] unexpected false: global.get name must be valid, on
[i32] (global.get $missing)
0
-[wasm-validator error in function $test] unexpected false: local.get index must be small enough, on
+[wasm-validator error in function test] unexpected false: local.get index must be small enough, on
[i32] (local.get $0)
-[wasm-validator error in function $test] unexpected false: local.get must have proper type, on
+[wasm-validator error in function test] unexpected false: local.get must have proper type, on
[i32] (local.get $0)
0