diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 13:58:54 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 13:58:54 +0300 |
| commit | 4c64d3869230b2aa22f7f2635e0851e355b24ca4 (patch) | |
| tree | ae77fefee64d158e38b7245b8073bf33adae8586 /docs | |
| parent | 52e8a67dbd1077b852a815befbe0d246a938cf92 (diff) | |
fix: remove dead "=" entry from operator registry (fj)
The dispatchToken guard for standalone "=" always fires before the
registry lookup, making the "=" registration in operator_registry.go
dead code. Assignment with "=" is handled at the expression level by
handleStandardAssign, not via the stack-level operator registry.
Also update related tests:
- TestAssignmentOperatorRegistry: remove "=" from registered operators
- TestResultStackErrors: "=" is no longer an operator, expects
"unknown token" instead of "insufficient operands"
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
