forked from WebAssembly/spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dont expect indices in validation messages either.
Similar to WebAssembly#1076, don't include index numbers in expected error messages from validation. This allows implementations to avoid creating dynamically formatted strings for validation error messages. Admittedly this isn't a huge burden, but it does seem like something that shouldn't be required to pass the spec test.
- Loading branch information
1 parent
5e3277c
commit 0251ae9
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -938,5 +938,5 @@ | |
|
||
(assert_invalid | ||
(module (table funcref (elem 0 0))) | ||
"unknown function 0" | ||
"unknown function" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -283,7 +283,7 @@ | |
(module | ||
(data (i32.const 0) "") | ||
) | ||
"unknown memory 0" | ||
"unknown memory" | ||
) | ||
|
||
;; Invalid offsets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -249,7 +249,7 @@ | |
(func $f) | ||
(elem (i32.const 0) $f) | ||
) | ||
"unknown table 0" | ||
"unknown table" | ||
) | ||
|
||
;; Invalid offsets | ||
|