K2: add package FQ name to ClassId of anonymous objects
This is needed because in order to figure out which declarations are visible from anonymous objects in terms of overridability (see `FirVisibilityChecker.isVisibleForOverriding`), we need to get the package name of that anonymous object, because there's package-private visibility on JVM. #KT-62017 Fixed
This commit is contained in:
committed by
Space Team
parent
59a9855373
commit
5cae87b263
analysis/analysis-api/testData/components/scopeProvider/declaredMemberScope/enumEntryInitializer.txt
Vendored
+3
-3
@@ -43,7 +43,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
hasBackingField: true
|
||||
@@ -75,7 +75,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
getterDeprecationStatus: null
|
||||
@@ -98,7 +98,7 @@ KtConstructorSymbol:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ KtConstructorSymbol:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
|
||||
+3
-3
@@ -43,7 +43,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
hasBackingField: true
|
||||
@@ -75,7 +75,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
getterDeprecationStatus: null
|
||||
@@ -98,7 +98,7 @@ KtConstructorSymbol:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
|
||||
+3
-3
@@ -43,7 +43,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
hasBackingField: true
|
||||
@@ -75,7 +75,7 @@ KtKotlinPropertySymbol:
|
||||
getDispatchReceiver(): KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
getterDeprecationStatus: null
|
||||
@@ -98,7 +98,7 @@ KtConstructorSymbol:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: <anonymous>
|
||||
type: test/<anonymous>
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
|
||||
Reference in New Issue
Block a user