FIR: Drop FirClassLikeDeclaration::supertypesComputationStatus
It became unused with rewritten supertype resolution
This commit is contained in:
-4
@@ -60,7 +60,6 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
val regularClassConfig: ImplementationContext.() -> Unit = {
|
||||
parents += modifiableRegularClass
|
||||
defaultNull("companionObject")
|
||||
defaultSupertypesComputationStatus()
|
||||
}
|
||||
impl(regularClass, "FirClassImpl", regularClassConfig)
|
||||
|
||||
@@ -72,7 +71,6 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
value = "ClassKind.OBJECT"
|
||||
withGetter = true
|
||||
}
|
||||
defaultSupertypesComputationStatus()
|
||||
}
|
||||
|
||||
impl(enumEntry) {
|
||||
@@ -88,13 +86,11 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
withGetter = true
|
||||
}
|
||||
default("typeRef", "session.builtinTypes.enumType")
|
||||
defaultSupertypesComputationStatus()
|
||||
useTypes(visibilitiesType, modalityType)
|
||||
}
|
||||
|
||||
impl(typeAlias) {
|
||||
parents += modifiableTypeParametersOwner
|
||||
defaultSupertypesComputationStatus()
|
||||
}
|
||||
|
||||
impl(import)
|
||||
|
||||
-1
@@ -205,7 +205,6 @@ object NodeConfigurator : AbstractFieldConfigurator() {
|
||||
classLikeDeclaration.configure {
|
||||
withArg("F", "FirClassLikeDeclaration<F>")
|
||||
parentArg(symbolOwner, "F", "F")
|
||||
+field("supertypesComputationStatus", type("fir.declarations", "SupertypesComputationStatus"), withReplace = true).apply { isMutable = true }
|
||||
+symbol("FirClassLikeSymbol", "F")
|
||||
}
|
||||
|
||||
|
||||
+1
-5
@@ -164,10 +164,6 @@ abstract class AbstractFirTreeImplementationConfigurator {
|
||||
}
|
||||
}
|
||||
|
||||
fun defaultSupertypesComputationStatus() {
|
||||
default("supertypesComputationStatus", "SupertypesComputationStatus.NOT_COMPUTED")
|
||||
}
|
||||
|
||||
fun default(field: String, init: DefaultValueContext.() -> Unit) {
|
||||
DefaultValueContext(getField(field)).apply(init).applyConfiguration()
|
||||
}
|
||||
@@ -232,4 +228,4 @@ abstract class AbstractFirTreeImplementationConfigurator {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user