Deprecate IrDeclaration.descriptor and IrSymbol.descriptor
This commit is contained in:
@@ -33,7 +33,9 @@ interface IrMetadataSourceOwner : IrElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface IrDeclaration : IrStatement, IrMutableAnnotationContainer, IrMetadataSourceOwner {
|
interface IrDeclaration : IrStatement, IrMutableAnnotationContainer, IrMetadataSourceOwner {
|
||||||
|
@Deprecated("Please use IR declaration properties and not its descriptor properties")
|
||||||
val descriptor: DeclarationDescriptor
|
val descriptor: DeclarationDescriptor
|
||||||
|
|
||||||
var origin: IrDeclarationOrigin
|
var origin: IrDeclarationOrigin
|
||||||
|
|
||||||
var parent: IrDeclarationParent
|
var parent: IrDeclarationParent
|
||||||
|
|||||||
@@ -27,7 +27,10 @@ import org.jetbrains.kotlin.types.model.TypeParameterMarker
|
|||||||
|
|
||||||
interface IrSymbol {
|
interface IrSymbol {
|
||||||
val owner: IrSymbolOwner
|
val owner: IrSymbolOwner
|
||||||
|
|
||||||
|
@Deprecated("Please use IR declaration properties and not its descriptor properties")
|
||||||
val descriptor: DeclarationDescriptor
|
val descriptor: DeclarationDescriptor
|
||||||
|
|
||||||
val isBound: Boolean
|
val isBound: Boolean
|
||||||
|
|
||||||
val signature: IdSignature
|
val signature: IdSignature
|
||||||
|
|||||||
Reference in New Issue
Block a user