Forbid shadowing of state variable.

This commit is contained in:
Stephen Chung
2022-02-27 22:47:13 +08:00
parent b17e891b63
commit 15448bf660
3 changed files with 7 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ Enhancements
* Variable definitions are optimized so that shadowed variables are reused as much as possible to reduce memory consumption.
* `FnAccess` and `FnNamespace` now implement `Ord` and `PartialOrd`.
* The `event_handler_map` example is enhanced to prevent shadowing of the state object map.
Version 1.5.0