Fix shared value assignments.

This commit is contained in:
Stephen Chung
2021-03-04 10:24:14 +08:00
parent ade290da7e
commit 2707b887c6
3 changed files with 43 additions and 27 deletions

View File

@@ -9,6 +9,7 @@ Bug fixes
* Errors in native Rust functions now contain the correct function call positions.
* Fixed error types in `EvalAltResult::ErrorMismatchDataType` which were swapped.
* Some expressions involving shared variables now work properly, for example `x in shared_value`, `return shared_value`, `obj.field = shared_value` etc. Previously, the resultant value is still shared which is counter-intuitive.
Breaking changes
----------------