Update log.

This commit is contained in:
Stephen Chung 2022-03-30 08:06:19 +08:00
parent a268105354
commit 0e4f1f1447

View File

@ -4,6 +4,12 @@ Rhai Release Notes
Version 1.6.0 Version 1.6.0
============= =============
This version, in particular, fixes a plugin macro hygiene error for the nightly compiler:
```text
error[E0425]: cannot find value `args` in this scope
```
Compiler version Compiler version
---------------- ----------------
@ -12,6 +18,7 @@ Compiler version
Bug fixes Bug fixes
--------- ---------
* Fixed macro hygiene error with nightly compiler.
* Invalid property or method access such as `a.b::c.d` or `a.b::func()` no longer panics but properly returns a syntax error. * 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. * `Scope::is_constant` now returns the correct value.
* Exporting a variable that contains a local function pointer (including anonymous function or closure) now raises a runtime error. * Exporting a variable that contains a local function pointer (including anonymous function or closure) now raises a runtime error.