Fix bug in custom syntax starting with disabled stardard keyword.

This commit is contained in:
Stephen Chung
2021-08-13 19:23:20 +08:00
parent c1b4c81e75
commit 114c93f430
3 changed files with 52 additions and 11 deletions

View File

@@ -4,6 +4,11 @@ Rhai Release Notes
Version 1.1.0
=============
Bug fixes
---------
* Custom syntax starting with a disabled standard keyword now works properly.
Enhancements
------------
@@ -16,6 +21,7 @@ Enhancements
* `parse_float()`, `PI()` and `E()` now defer to `Decimal` under `no_float` if `decimal` is turned on.
* Added `log10()` for `Decimal`.
* `ln` for `Decimal` is now checked and won't panic.
* `Scope::set_value` now takes anything that implements `Into<Cow<str>>`.
Version 1.0.2