Skip to content

Commit

Permalink
replace unsized uN by a u32
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs authored and lukewagner committed Jun 3, 2024
1 parent 3670a4c commit 8ba643f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions design/mvp/Binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Notes:
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)

```ebnf
value ::= t:<valtype> len:<uN> v:<val(t)> => (value t v) (where len = ||v|| and N = ceil(sqrt(||v||)))
value ::= t:<valtype> len:<core:u32> v:<val(t)> => (value t v) (where len = ||v||)
val(bool) ::= 0x00 => false
| 0x01 => true
val(u8) ::= v:<core:byte> => v
Expand Down Expand Up @@ -401,7 +401,6 @@ Notes:
- [`core:u16`]
- [`core:u32`]
- [`core:u64`]
- [`core:uN`]
- [`core:f32`]
- [`core:f64`]
- [`core:utf8`]
Expand Down Expand Up @@ -445,7 +444,6 @@ named once.
[`core:u32`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:s64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:u64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:uN`]: https://webassembly.github.io/spec/core/binary/values.html#integers
[`core:f32`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
[`core:f64`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
[`core:utf8`]: https://webassembly.github.io/spec/core/binary/values.html#binary-utf8
Expand Down

0 comments on commit 8ba643f

Please sign in to comment.