Search for global variables in global modules.

This commit is contained in:
Stephen Chung
2022-03-27 21:49:34 +08:00
parent 2b10c33b81
commit 5caf20d26b
4 changed files with 25 additions and 9 deletions

View File

@@ -32,6 +32,8 @@ Enhancements
* A function `sleep` is added to block the current thread by a specified number of seconds.
* `Scope::set_alias` is added to export a variable under a particular alias name.
* `starts_with` and `ends_with` are added for strings.
* Variables in modules registered via `register_global_module` can now be accessed in the global namespace.
* `Dynamic::into_read_only` is added to convert a `Dynamic` value into constant.
Version 1.5.0