[FIR] Properly assign <local> packages to symbols
This prevents `FirConflictsExpressionChecker.kt` from missing conflicting local functions. It used to due to inconsistencies in assigning `<local>`, and this commit makes it a bit more straightforward. The change in KtClassTypeQualifierRenderer prevents `FirOverrideImplementTest.testLocalClass` from failing in `intellij`. It didn't fail for callables, because `KtCallableSignatureRenderer` doesn't try to render packages. ^KT-59186 Fixed
This commit is contained in:
committed by
Space Team
parent
cf655fd5ad
commit
f9c6af4d2a
Vendored
+4
-3
@@ -3,7 +3,7 @@ implicit receivers:
|
||||
type: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: Y
|
||||
type: <local>/Y
|
||||
owner symbol: KtFirNamedClassOrObjectSymbol
|
||||
|
||||
scopes:
|
||||
@@ -257,7 +257,7 @@ scopes:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: Y
|
||||
type: <local>/Y
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
@@ -386,4 +386,5 @@ scopes:
|
||||
|
||||
DefaultSimpleImportingScope, index = 10
|
||||
|
||||
DefaultStarImportingScope, index = 11
|
||||
DefaultStarImportingScope, index = 11
|
||||
|
||||
|
||||
Reference in New Issue
Block a user