Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 060678f

Browse files
authored
Change validation error -> malformed in Overview (#143)
Fixes #142. A mismatched `DataCount` is malformed, not a validation error.
1 parent ffdbb6e commit 060678f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/bulk-memory-operations/Overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,6 @@ segments in the `Data` section:
448448
| ----- | ---- | ----------- |
449449
| count | `varuint32` | count of data segments in `Data` section |
450450

451-
It is a validation error if `count` is not equal to the number of data segments
452-
in the `Data` section. It is also a validation error if the `DataCount` section
451+
The binary is malformed if `count` is not equal to the number of data segments
452+
in the `Data` section. The binary is also malformed if the `DataCount` section
453453
is omitted and a `memory.init` or `data.drop` instruction is used.

0 commit comments

Comments
 (0)