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 "Support completions for extension definition parameter" to LTS #20688

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #18331 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

Extension methods are extended into normal definitions.
Because of that typed trees don't include any information about the
extension method definition parameter:
```scala
extension (x: In@@)
```
In order to add completions, we check if there is an exact path to the
untyped tree, and if not, we fall back to it. There may also be more
possible cases like that, but I can't think of any at the moment.
[Cherry-picked de4ad2b]
Base automatically changed from lts-18435 to lts-3.3 June 20, 2024 14:56
@WojciechMazur
Copy link
Contributor Author

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

Reference

@WojciechMazur WojciechMazur merged commit c10275d into lts-3.3 Jun 20, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-18331 branch June 20, 2024 14:56
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