Skip to content

fix: back to the old correct resource ID calculation#2788

Merged
skylot merged 1 commit intoskylot:masterfrom
jpstotz:resid
Feb 12, 2026
Merged

fix: back to the old correct resource ID calculation#2788
skylot merged 1 commit intoskylot:masterfrom
jpstotz:resid

Conversation

@jpstotz
Copy link
Copy Markdown
Collaborator

@jpstotz jpstotz commented Feb 12, 2026

This PR reverts some of the changes introduced by #2777 regarding the resource ID calculation.

As described in #2786 the resource ID is important for constant replacement.

This PR also includes changes regarding the protection system to protect us against duplicate resource entry and the renaming cascade and memory problem as described in #2775, it now bases on the index, not on the offset.

fixes #2786

@skylot
Copy link
Copy Markdown
Owner

skylot commented Feb 12, 2026

Hm, looks like we need to add an integration test for this 🤣

@skylot skylot merged commit 9710ebe into skylot:master Feb 12, 2026
2 checks passed
@jpstotz jpstotz deleted the resid branch February 13, 2026 13:11
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.

[core] Incorrect ID generation in R file breaks constant replacement

2 participants