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 3.4.1 #19928

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

Kordyjan
Copy link
Contributor

Backports #19875

…tSearch` (scala#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
@Kordyjan Kordyjan enabled auto-merge March 12, 2024 11:33
@Kordyjan Kordyjan merged commit 0339598 into scala:release-3.4.1 Mar 12, 2024
17 checks passed
@Kordyjan Kordyjan deleted the 19875-on-3.4.1 branch March 12, 2024 17:16
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.

3 participants