Skip to content

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
@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