[IR] Remove deprecated correspondingProperty from IrSimpleFunction
This commit is contained in:
@@ -30,9 +30,6 @@ interface IrSimpleFunction :
|
||||
val isSuspend: Boolean
|
||||
val isFakeOverride: Boolean
|
||||
|
||||
@Deprecated("Use correspondingPropertySymbol")
|
||||
var correspondingProperty: IrProperty?
|
||||
|
||||
var correspondingPropertySymbol: IrPropertySymbol?
|
||||
}
|
||||
|
||||
|
||||
@@ -64,13 +64,6 @@ class IrFunctionImpl(
|
||||
|
||||
override val overriddenSymbols: MutableList<IrSimpleFunctionSymbol> = SmartList()
|
||||
|
||||
@Suppress("OverridingDeprecatedMember")
|
||||
override var correspondingProperty: IrProperty?
|
||||
get() = correspondingPropertySymbol?.owner
|
||||
set(value) {
|
||||
correspondingPropertySymbol = value?.symbol
|
||||
}
|
||||
|
||||
override var correspondingPropertySymbol: IrPropertySymbol? = null
|
||||
|
||||
// Used by kotlin-native in InteropLowering.kt and IrUtils2.kt
|
||||
|
||||
@@ -89,13 +89,6 @@ class IrLazyFunction(
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("OverridingDeprecatedMember")
|
||||
override var correspondingProperty: IrProperty?
|
||||
get() = correspondingPropertySymbol?.owner
|
||||
set(value) {
|
||||
correspondingPropertySymbol = value?.symbol
|
||||
}
|
||||
|
||||
override var correspondingPropertySymbol: IrPropertySymbol? = null
|
||||
|
||||
init {
|
||||
|
||||
Reference in New Issue
Block a user