FIR IDE: Remove typesCache from KtSymbolByFirBuilder
This cache wasn't working too well, because ConeTypes have equals/hashCode implementations which do not account for types' attributes (like annotations, for example). Because of that, `String` and `@Annotated String` were considered the same type, and the cache was remembering whichever came first.
This commit is contained in:
committed by
TeamCityServer
parent
10ac98b029
commit
9ff46004e4
@@ -149,9 +149,9 @@ KtFunctionSymbol:
|
||||
origin: SOURCE
|
||||
receiverType: null
|
||||
returnType: [
|
||||
Anno2()
|
||||
Anno3()
|
||||
psi: KtAnnotationEntry
|
||||
] @R|Anno2|() I
|
||||
] @R|Anno3|() I
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: [
|
||||
@@ -182,9 +182,9 @@ KtKotlinPropertySymbol:
|
||||
origin: SOURCE
|
||||
receiverType: null
|
||||
returnType: [
|
||||
Anno2()
|
||||
Anno4()
|
||||
psi: KtAnnotationEntry
|
||||
] @R|Anno2|() I
|
||||
] @R|Anno4|() I
|
||||
setter: null
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
@@ -211,9 +211,9 @@ KtNamedClassOrObjectSymbol:
|
||||
origin: SOURCE
|
||||
superTypes: [
|
||||
[
|
||||
Anno2()
|
||||
Anno1()
|
||||
psi: KtAnnotationEntry
|
||||
] @R|Anno2|() I
|
||||
] @R|Anno1|() I
|
||||
]
|
||||
symbolKind: TOP_LEVEL
|
||||
typeParameters: []
|
||||
|
||||
Reference in New Issue
Block a user