Fixed declaration hover info being not rendered for resolved method calls

This commit is contained in:
bigguy345 committed 2025-12-27 22:06:33 +02:00
1 parent a4eb63917f
commit 6400c4a4e8
1 file changed
+1 -1
@@ -879,7 +879,7 @@ public class TokenHoverInfo {
public String getIconIndicator() { return iconIndicator; }
public List<TextSegment> getDeclaration() {
if (getErrors().stream().anyMatch(err -> err.contains("Cannot resolve")))
if (getErrors().stream().anyMatch(err -> err.contains("Cannot resolve symbol")))
return new ArrayList<>();
return declaration;
}