[IR] Remove deprecated correspondingProperty from IrSimpleFunction

This commit is contained in:
Roman Artemev
2019-10-28 11:24:32 +03:00
committed by romanart
parent a343a57207
commit ec1c2eb42d
5 changed files with 3 additions and 19 deletions
@@ -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 {