[LL FIR] add missed ClassId check for combined Java classes symbol provider

findClasses works over regular `PsiElementFinder`, which doesn't know
about out ClassId conception. So, `a/b/A.B` and `a/b/A/B` are the same
from `FqName` point of view.
`FirJavaFacade` has this check, so this problem appears only in the case
of combined provider.

^KT-62892 Fixed
This commit is contained in:
Dmitrii Gridin
2024-01-03 15:53:29 +01:00
committed by Space Team
parent a39688ba10
commit 2bad2f37ce
10 changed files with 10 additions and 25 deletions
@@ -1,4 +1 @@
Diagnostics from elements:
for PSI element of type KtDotQualifiedExpression at (17,25-54)
ARGUMENT_TYPE_MISMATCH text ranges: [(169,198)]
PSI: KtDotQualifiedExpression at (17,25-54)
@@ -1,4 +1 @@
Diagnostics from elements:
for PSI element of type KtDotQualifiedExpression at (19,25-54)
ARGUMENT_TYPE_MISMATCH text ranges: [(171,200)]
PSI: KtDotQualifiedExpression at (19,25-54)
@@ -1,4 +1 @@
Diagnostics from elements:
for PSI element of type KtDotQualifiedExpression at (17,25-52)
ARGUMENT_TYPE_MISMATCH text ranges: [(169,196)]
PSI: KtDotQualifiedExpression at (17,25-52)
@@ -1,4 +1 @@
Diagnostics from elements:
for PSI element of type KtDotQualifiedExpression at (19,25-52)
ARGUMENT_TYPE_MISMATCH text ranges: [(171,198)]
PSI: KtDotQualifiedExpression at (19,25-52)