IR: .isBound API for F/O declarations
Fake override functions and properties may not be bound to symbols. This API allows to know if such declaration is actually bound
This commit is contained in:
committed by
teamcityserver
parent
6c734289be
commit
76f0684d7c
@@ -14,4 +14,6 @@ interface IrFakeOverrideFunction : IrDeclaration {
|
||||
var modality: Modality
|
||||
|
||||
fun acquireSymbol(symbol: IrSimpleFunctionSymbol): IrSimpleFunction
|
||||
|
||||
val isBound: Boolean
|
||||
}
|
||||
|
||||
@@ -16,4 +16,6 @@ interface IrFakeOverrideProperty : IrDeclaration {
|
||||
var setter: IrSimpleFunction?
|
||||
|
||||
fun acquireSymbol(symbol: IrPropertySymbol): IrProperty
|
||||
|
||||
val isBound: Boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user