mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[js] WEB-74847 Cleanup PsiSourcedPolySymbolRequestResultProcessor
GitOrigin-RevId: d830f78de6735f8cbc4ecf1962e2a194088198e3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31c87021f4
commit
b71085c21e
+8
-3
@@ -53,10 +53,15 @@ class PsiSourcedPolySymbolRequestResultProcessor(
|
||||
|
||||
equivalentSymbol ?: return@forEach
|
||||
|
||||
if (!consumer.process(
|
||||
PsiSourcedPolySymbolReference(equivalentSymbol, targetElement, element, ref.rangeInElement))) {
|
||||
val equivalentSymbolReference = PsiSourcedPolySymbolReference(
|
||||
symbol = equivalentSymbol,
|
||||
sourceElement = targetElement,
|
||||
host = element,
|
||||
range = ref.rangeInElement,
|
||||
)
|
||||
|
||||
if (!consumer.process(equivalentSymbolReference))
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user