FIR: don't create intersection override for duplicating symbols

This commit is contained in:
Mikhail Glukhikh
2021-01-26 17:49:40 +03:00
parent b9c33a0c6e
commit 465261e611
20 changed files with 80 additions and 71 deletions
@@ -1223,8 +1223,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/Boolean
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.Int.equals
dispatchType: kotlin/Int
callableIdIfNonLocal: kotlin.Any.equals
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -1233,7 +1233,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: equals
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []
@@ -1244,8 +1244,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/Int
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.Int.hashCode
dispatchType: kotlin/Int
callableIdIfNonLocal: kotlin.Any.hashCode
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -1254,7 +1254,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: hashCode
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []
@@ -1265,8 +1265,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/String
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.Int.toString
dispatchType: kotlin/Int
callableIdIfNonLocal: kotlin.Any.toString
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -1275,7 +1275,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: toString
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []
@@ -449,8 +449,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/Boolean
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.collections.MutableList.equals
dispatchType: kotlin/collections/MutableList<E>
callableIdIfNonLocal: kotlin.Any.equals
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -459,7 +459,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: equals
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []
@@ -470,8 +470,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/Int
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.collections.MutableList.hashCode
dispatchType: kotlin/collections/MutableList<E>
callableIdIfNonLocal: kotlin.Any.hashCode
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -480,7 +480,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: hashCode
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []
@@ -491,8 +491,8 @@ KtFirFunctionSymbol:
annotatedType: [] kotlin/String
annotationClassIds: []
annotations: []
callableIdIfNonLocal: kotlin.collections.MutableList.toString
dispatchType: kotlin/collections/MutableList<E>
callableIdIfNonLocal: kotlin.Any.toString
dispatchType: kotlin/Any
isExtension: false
isExternal: false
isInline: false
@@ -501,7 +501,7 @@ KtFirFunctionSymbol:
isSuspend: false
modality: OPEN
name: toString
origin: INTERSECTION_OVERRIDE
origin: LIBRARY
receiverType: null
symbolKind: MEMBER
typeParameters: []