Skip to content

Commit 7598adc

Browse files
committed
Fix binary encoding of externdesc to match sortidx codes
Resolves #157
1 parent cf3750c commit 7598adc

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)