We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa827e commit 7e50b1eCopy full SHA for 7e50b1e
presentation-compiler/src/main/dotty/tools/pc/CompletionItemResolver.scala
@@ -75,7 +75,7 @@ object CompletionItemResolver extends ItemResolver:
75
else gsymDoc
76
else
77
val companionDoc = docs(companion)
78
- if companionDoc.isEmpty() then gsymDoc
+ if companionDoc.isEmpty() || companionDoc == gsymDoc then gsymDoc
79
else if gsymDoc.isEmpty() then companionDoc
80
81
List(
0 commit comments