Fix bug in Scope::is_constant.

This commit is contained in:
Stephen Chung
2022-02-18 19:13:09 +08:00
parent ef87ae48c1
commit 78b5c9fd4e
2 changed files with 6 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ Bug fixes
---------
* Invalid property or method access such as `a.b::c.d` or `a.b::func()` no longer panics but properly returns a syntax error.
* `Scope::is_constant` now returns the correct value.
Enhancements
------------