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 "Adjust owner in Interactive.contextOfPath causing crash in ImplicitSearch" to LTS #20977

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #19875 to the LTS branch.

PR submitted by the release tooling.

…tSearch` (#19875)

`Interactive` provided us with the method `contextOfPath` which should
return enclosing ctx for given position. It was working fine until given
loop detection was improved some time ago.

It started crashing as the context owner was set to original context
owner, instead of the real owner. This PR changes this and sets context
to its outer context owner.

Fixes scalameta/metals#6193
[Cherry-picked 9cc9107]
Base automatically changed from lts-19868 to lts-3.3 July 3, 2024 08:38
@WojciechMazur
Copy link
Contributor Author

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

Reference

@WojciechMazur WojciechMazur merged commit 26fb24a into lts-3.3 Jul 3, 2024
18 of 19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19875 branch July 3, 2024 08:38
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.

2 participants