File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1386,6 +1386,7 @@ val ::= false | true
1386
1386
| (enum "<label>")
1387
1387
| none | (some <val>)
1388
1388
| ok | (ok <val>) | error | (error <val>)
1389
+ | (binary <core:datastring>)
1389
1390
f32canon ::= <core:f32> without the `nan:0x` case.
1390
1391
f64canon ::= <core:f64> without the `nan:0x` case.
1391
1392
```
@@ -1424,6 +1425,9 @@ The validation rules for `value` require the `val` to match the `valtype`. For
1424
1425
1425
1426
(value $s (enum "a" "b" "c") (enum "b"))
1426
1427
1428
+ (value $t bool (binary "\00"))
1429
+ (value $u string (binary "\07example"))
1430
+
1427
1431
(type $complex
1428
1432
(tuple
1429
1433
(record
@@ -2098,6 +2102,7 @@ and will be added over the coming months to complete the MVP proposal:
2098
2102
[ `core:valtype` ] : https://webassembly.github.io/spec/core/text/types.html#value-types
2099
2103
[ `core:typeuse` ] : https://webassembly.github.io/spec/core/text/modules.html#type-uses
2100
2104
[ `core:functype` ] : https://webassembly.github.io/spec/core/text/types.html#function-types
2105
+ [ `core:datastring` ] : https://webassembly.github.io/spec/core/text/modules.html#text-datastring
2101
2106
[ func-import-abbrev ] : https://webassembly.github.io/spec/core/text/modules.html#text-func-abbrev
2102
2107
[ `core:version` ] : https://webassembly.github.io/spec/core/binary/modules.html#binary-version
2103
2108
You can’t perform that action at this time.
0 commit comments