Skip to content

Commit 0c0adbe

Browse files
authored
Make attribute's encoding uint8 (#162)
This changes the encoding of the `attribute` field, which is preserved for future use, from `varuint32` to `uint8`. `uint8` is simpler to encode/decode and this attribute is not likely to need `varuint32` range even in future. Suggested in #161 (comment).
1 parent 5aa690d commit 0c0adbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/exception-handling/Exceptions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ Each tag type has the fields:
401401

402402
| Field | Type | Description |
403403
|-------|------|-------------|
404-
| `attribute` | `varuint32` | The attribute of a tag. |
404+
| `attribute` | `uint8` | The attribute of a tag. |
405405
| `type` | `varuint32` | The type index for its corresponding type signature |
406406

407407
##### external_kind

0 commit comments

Comments
 (0)