Skip to content

Backport from Metals #22426

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

Merged
merged 8 commits into from
Jan 22, 2025
Merged
Prev Previous commit
Next Next commit
fix: deduplicate scaladoc
  • Loading branch information
kasiaMarek committed Jan 21, 2025
commit 7e50b1efc8f316cfbcac6609a56aec300bc88ce3
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ object CompletionItemResolver extends ItemResolver:
else gsymDoc
else
val companionDoc = docs(companion)
if companionDoc.isEmpty() then gsymDoc
if companionDoc.isEmpty() || companionDoc == gsymDoc then gsymDoc
else if gsymDoc.isEmpty() then companionDoc
else
List(
Expand Down