leftibot 276fa9d13a Address review: revert := deep-copy change, keep reference-assign semantics
Reverts the arithmetic deep-copy added to := in chaiscript_eval.hpp,
restoring its original reference-assign behavior as requested.
The optimizer fix (heap-allocated loop counter) remains and is
sufficient to prevent the #635 segfault.

Updated tests to use correct expected values for reference-assign
semantics and added more thorough coverage: nested loops, multiple
async calls, and value-assign comparison.

Requested by @lefticus in PR #671 review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 16:34:40 -06:00
..
chaiscript Address review: revert := deep-copy change, keep reference-assign semantics 2026-04-12 16:34:40 -06:00