Skip to content

Commit e91bcca

Browse files
Fix bug in binary encoding of case
Co-authored-by: Peter Huene <[email protected]>
1 parent 2cf4cd1 commit e91bcca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

design/mvp/Binary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ defvaltype ::= pvt:<primvaltype> => pvt
181181
| 0x6a t*:vec(<valtype>) u*:vec(<valtype>) => (result t* (error u*))
182182
namedtype ::= n:<name> t:<valtype> => (field n t)
183183
case ::= nt*:vec(<namedtype>) 0x0 => (case nt*)
184-
| nt*:vec(<namedtype>) 0x1 i:<u32> => (case nt* (refines case-label[i]))
184+
| n:<name> t*:vec(<valtype>) 0x1 i:<u32> => (case n t* (refines case-label[i]))
185185
valtype ::= i:<typeidx> => i
186186
| pvt:<primvaltype> => pvt
187187
functype ::= 0x40 p*:<prlist> r*:<prlist> => (func (param p)* (result r)*)

0 commit comments

Comments
 (0)