Skip to content

Fixes some specific rules combination#891

Merged
IgorYbema merged 2 commits into
heishamon:mainfrom
IgorYbema:rules-issue-fix-2
May 18, 2026
Merged

Fixes some specific rules combination#891
IgorYbema merged 2 commits into
heishamon:mainfrom
IgorYbema:rules-issue-fix-2

Conversation

@IgorYbema
Copy link
Copy Markdown
Member

Issue #885 reported some issue's with specific combination of rules. This PR fixes it

IgorYbema and others added 2 commits May 16, 2026 20:42
In bc_assign_slots loop1, SETVAL's 'a' field is a variable index
(e.g. 3), not a virtual slot number. When SETVAL appeared as an outer
node in the middle of a range, its inner scan propagated that variable
index to other nodes (NE's c/a fields) that coincidentally held the
same value. This corrupted the virtual slot normalization so that NE
and a GETVAL both ended up mapped to the same heap slot, leaving NE's
'b' operand unmapped (positive). Skip the inner scan for SETVAL so its
variable index is never used as a virtual slot reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@IgorYbema IgorYbema merged commit 78f41dd into heishamon:main May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant