Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(developer): include nul in offset calculations for kmw v10 compiler #13326

Open
wants to merge 1 commit into
base: fix/core/13304-include-nul-in-context-offset-calculations
Choose a base branch
from

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Feb 23, 2025

The cached context comparison for v10 kmw compiler includes the nul statement, unlike the comparison in the earlier compiler. This difference was missed in earlier iterations including the recent patch in #13003. This patch fixes the problem for both context(n) and index(store,n) offset calculations.

The earlier v9 kmw compiler is not impacted by this change.

Fixes: #13306
Fixes: #13307
Follows: #13003

@keymanapp-test-bot skip

Note: I will do some low-level tests before merging and add results as a comment.

@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Feb 23, 2025

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

…iler

The cached context comparison for v10 kmw compiler includes the `nul`
statement, unlike the comparison in the earlier compiler. This
difference was missed in earlier iterations including the recent patch
in #13003. This patch fixes the problem for both `context(n)` and
`index(store,n)` offset calculations.

Fixes: #13306
Fixes: #13307
Follows: #13003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
2 participants