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:
Anton Bannykh
2021-07-06 17:23:32 +03:00
committed by teamcityserver
parent 6c734289be
commit 76f0684d7c
6 changed files with 18 additions and 1 deletions
@@ -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
}