FIR IDE: do not search for sealed class inheritors on every class resolve
This commit is contained in:
+2
-1
@@ -195,9 +195,10 @@ fun deserializeClassToSymbol(
|
||||
})
|
||||
}.also {
|
||||
if (isSealed) {
|
||||
it.sealedInheritors = classProto.sealedSubclassFqNameList.map { nameIndex ->
|
||||
val inheritors = classProto.sealedSubclassFqNameList.map { nameIndex ->
|
||||
ClassId.fromString(nameResolver.getQualifiedClassName(nameIndex))
|
||||
}
|
||||
it.setSealedClassInheritors(inheritors)
|
||||
}
|
||||
(it.annotations as MutableList<FirAnnotationCall>) +=
|
||||
context.annotationDeserializer.loadClassAnnotations(classProto, context.nameResolver)
|
||||
|
||||
Reference in New Issue
Block a user