Fix Array::pad limits.

This commit is contained in:
Stephen Chung
2022-01-06 15:30:17 +08:00
parent 0a63e1732b
commit 80edb1200d
2 changed files with 28 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ Bug fixes
* Constructing a literal array or object map now checks for size limits for each item instead of at the very end when it is already too late.
* Non-`INT` integer types are now treated exactly as custom types under `only_i64` and `only_i32`.
* Calling `pad` on an array now checks for total size over limit after each item added.
New features
------------