File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -1369,20 +1369,21 @@ once at instantiation-time (i.e., they are [linear]).
1369
1369
Components may define values in the value index space using following syntax:
1370
1370
1371
1371
``` ebnf
1372
- value ::= (value <id>? <valtype> <val>)
1373
- val ::= false | true
1374
- | <core:i64>
1375
- | <core:f64> | NaN
1376
- | '<core:char>'
1377
- | <core:name>
1378
- | (record <val>+)
1379
- | (variant "<label>" <val>?)
1380
- | (list <val>*)
1381
- | (tuple <val>+)
1382
- | (flags "<label>"*)
1383
- | (enum "<label>")
1384
- | none | (some <val>)
1385
- | ok | (ok <val>) | error | (error <val>)
1372
+ value ::= (value <id>? <valtype> <val>)
1373
+ val ::= false | true
1374
+ | <core:i64>
1375
+ | <f64canon>
1376
+ | '<core:char>'
1377
+ | <core:name>
1378
+ | (record <val>+)
1379
+ | (variant "<label>" <val>?)
1380
+ | (list <val>*)
1381
+ | (tuple <val>+)
1382
+ | (flags "<label>"*)
1383
+ | (enum "<label>")
1384
+ | none | (some <val>)
1385
+ | ok | (ok <val>) | error | (error <val>)
1386
+ f64canon ::= <core:f64> without the `nan:0x` case.
1386
1387
```
1387
1388
1388
1389
The validation rules for ` value ` require the ` val ` to match the ` valtype ` . For example:
You can’t perform that action at this time.
0 commit comments