Skip to content

Commit 72d061c

Browse files
authored
Merge pull request #159 from WebAssembly/fix-externdesc-binary-encoding
Fix binary encoding of `externdesc` to match `sortidx`
2 parents 891c41c + 7598adc commit 72d061c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/Binary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ externdesc ::= 0x00 0x11 i:<core:typeidx> => (core module (type
228228
| 0x01 i:<typeidx> => (func (type i))
229229
| 0x02 t:<valtype> => (value t)
230230
| 0x03 b:<typebound> => (type b)
231-
| 0x04 i:<typeidx> => (instance (type i))
232-
| 0x05 i:<typeidx> => (component (type i))
231+
| 0x04 i:<typeidx> => (component (type i))
232+
| 0x05 i:<typeidx> => (instance (type i))
233233
typebound ::= 0x00 i:<typeidx> => (eq i)
234234
| 0x01 => (sub resource)
235235
```

0 commit comments

Comments
 (0)