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