Revert "[FE 1.0] Provide an API to clean compile time initializer cache for variable descriptor"
This reverts commit 0e6762acc3.
This commit is contained in:
committed by
TeamCityServer
parent
965bab2d2d
commit
faeb5d21ab
@@ -185,7 +185,6 @@ open class IrBasedValueParameterDescriptor(owner: IrValueParameter) : ValueParam
|
||||
override fun getName() = owner.name
|
||||
override fun declaresDefaultValue() = owner.defaultValue != null
|
||||
override fun getCompileTimeInitializer(): ConstantValue<*>? = null
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun copy(newOwner: CallableDescriptor, newName: Name, newIndex: Int) = TODO("not implemented")
|
||||
|
||||
@@ -326,8 +325,6 @@ open class IrBasedVariableDescriptor(owner: IrVariable) : VariableDescriptor, Ir
|
||||
TODO("")
|
||||
}
|
||||
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun getOverriddenDescriptors(): Collection<VariableDescriptor> {
|
||||
TODO("Not Implemented")
|
||||
}
|
||||
@@ -362,8 +359,6 @@ open class IrBasedVariableDescriptorWithAccessor(owner: IrLocalDelegatedProperty
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun getType(): KotlinType = owner.type.toIrBasedKotlinType()
|
||||
|
||||
override fun isConst(): Boolean = false
|
||||
@@ -833,8 +828,6 @@ open class IrBasedPropertyDescriptor(owner: IrProperty) :
|
||||
return null
|
||||
}
|
||||
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun isSetterProjectedOut(): Boolean {
|
||||
TODO("not implemented")
|
||||
}
|
||||
@@ -1023,8 +1016,6 @@ open class IrBasedFieldDescriptor(owner: IrField) : PropertyDescriptor, IrBasedD
|
||||
TODO("not implemented")
|
||||
}
|
||||
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun isSetterProjectedOut(): Boolean {
|
||||
TODO("not implemented")
|
||||
}
|
||||
|
||||
-1
@@ -119,7 +119,6 @@ class IrBuiltinValueParameterDescriptorImpl(
|
||||
override val isNoinline: Boolean get() = false
|
||||
override val varargElementType: KotlinType? get() = null
|
||||
override fun getCompileTimeInitializer(): ConstantValue<*>? = null
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
override fun isVar(): Boolean = false
|
||||
override fun getVisibility(): DescriptorVisibility = DescriptorVisibilities.LOCAL
|
||||
|
||||
|
||||
@@ -76,8 +76,6 @@ abstract class IrDelegateDescriptorBase(
|
||||
|
||||
override fun getCompileTimeInitializer(): ConstantValue<*>? = null
|
||||
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
|
||||
override fun getVisibility(): DescriptorVisibility = DescriptorVisibilities.PRIVATE
|
||||
|
||||
override fun substitute(substitutor: TypeSubstitutor): PropertyDescriptor {
|
||||
@@ -133,7 +131,6 @@ class IrLocalDelegatedPropertyDelegateDescriptorImpl(
|
||||
) {
|
||||
|
||||
override fun getCompileTimeInitializer(): ConstantValue<*>? = null
|
||||
override fun cleanCompileTimeInitializerCache() {}
|
||||
override fun isVar(): Boolean = false
|
||||
override fun isLateInit(): Boolean = false
|
||||
override fun substitute(substitutor: TypeSubstitutor): VariableDescriptor? = throw UnsupportedOperationException()
|
||||
|
||||
Reference in New Issue
Block a user