Add Dynamic::from(&str)

This commit is contained in:
Stephen Chung
2020-10-06 21:25:05 +08:00
parent 1de44c7ecd
commit 8809d25d3c
3 changed files with 23 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ New features
* `OptimizationLevel::Simple` now eagerly evaluates built-in binary operators of primary types (if not overloaded).
* Added `is_def_var()` to detect if variable is defined, and `is_def_fn()` to detect if script function is defined.
* `Dynamic::from(&str)` now constructs a `Dynamic` with a copy of the string as value.
Version 0.19.0