Do not propagate constants if shadowed.

This commit is contained in:
Stephen Chung
2020-12-08 22:20:29 +08:00
parent aff207d4f4
commit 8e8069f819
3 changed files with 64 additions and 43 deletions

View File

@@ -1,6 +1,15 @@
Rhai Release Notes
==================
Version 0.19.8
==============
Bug fixes
---------
* Constants are no longer propagated by the optimizer if shadowed by a non-constant variable.
Version 0.19.7
==============