summaryrefslogtreecommitdiff
path: root/test/lit/parse-bad-tuple-extract-index.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-09-28 12:07:39 -0700
committerGitHub <noreply@github.com>2023-09-28 12:07:39 -0700
commitd49f518eee07d9c267a32ca9443069255b4cbd1f (patch)
treeea90214ad6dbc56f6b5f20735fff9e07105547c7 /test/lit/parse-bad-tuple-extract-index.wast
parent7fe2773010a5be824ac2b75cf8ee5dac90368aaf (diff)
downloadbinaryen-d49f518eee07d9c267a32ca9443069255b4cbd1f.tar.gz
binaryen-d49f518eee07d9c267a32ca9443069255b4cbd1f.tar.bz2
binaryen-d49f518eee07d9c267a32ca9443069255b4cbd1f.zip
wasm-s-parser: Add context in validation errors (#5981)
Instead of just reporting the reason and line + column, also log out the element the error occurred at.
Diffstat (limited to 'test/lit/parse-bad-tuple-extract-index.wast')
-rw-r--r--test/lit/parse-bad-tuple-extract-index.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/parse-bad-tuple-extract-index.wast b/test/lit/parse-bad-tuple-extract-index.wast
index 01974fe7e..186bdc560 100644
--- a/test/lit/parse-bad-tuple-extract-index.wast
+++ b/test/lit/parse-bad-tuple-extract-index.wast
@@ -2,7 +2,7 @@
;; RUN: not wasm-opt %s 2>&1 | filecheck %s
-;; CHECK: [parse exception: Bad index on tuple.extract (at 9:17)]
+;; CHECK: [parse exception: Bad index on tuple.extract: ( tuple.extract 2 ( tuple.make ( i32.const 0 ) ( i64.const 1 ) ) ) (at 9:17)]
(module
(func