diff --git a/CHANGELOG.md b/CHANGELOG.md index 878bdc07..3b2d71ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,12 @@ Breaking changes * `LogicPackage` is removed from `CorePackage`. * Bit-field functions are moved into a new `BitFieldPackage` (used to be in `LogicPackage`) which makes more sense. +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`. + New features ------------ diff --git a/tests/ops.rs b/tests/ops.rs index 290c9ada..d50bf517 100644 --- a/tests/ops.rs +++ b/tests/ops.rs @@ -10,8 +10,10 @@ fn test_ops() -> Result<(), Box> { Ok(()) } +#[cfg(not(feature = "only_i32"))] +#[cfg(not(feature = "only_i64"))] #[test] -fn test_ops_numbers() -> Result<(), Box> { +fn test_ops_other_number_types() -> Result<(), Box> { let engine = Engine::new(); let mut scope = Scope::new();