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

Backport "Avoid stacked thisCall contexts" to LTS #21130

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

WojciechMazur
Copy link
Contributor

Backports #20488 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

AddImplicitArgs can recursively add several implicit parameter lists.
We need to make sure we don't perform a thisCallContext search in another
thisCall context in this case.

Fixes #20483

The original code would back out further and further in the context chain for every
implicit parameter section on the secondary constructor. Eventually (in this case
after 3 times) bad things happen.

[Cherry-picked 2e4a070][modified]
Base automatically changed from lts-20477 to lts-3.3 July 9, 2024 16:55
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-20857.

Reference

@WojciechMazur WojciechMazur merged commit 52b87c2 into lts-3.3 Jul 9, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-20488 branch July 9, 2024 16:55
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