Add Scope::remove.

This commit is contained in:
Stephen Chung
2022-07-27 11:35:40 +08:00
parent d42c6b69a3
commit 21f822020f
2 changed files with 36 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ Enhancements
* `as_string` is added to BLOB's to convert it into a string by interpreting it as a UTF-8 byte stream.
* `FnAccess::is_private`, `FnAccess::is_public`, `FnNamespace::is_module_namespace` and `FnNameSpace::is_global_namespace` are added for convenience.
* `Iterator<Item=T>` type for functions metadata is simplified to `Iterator<T>`.
* `Scope::remove` is added to remove a variable from a `Scope`, returning its value.
Version 1.8.0