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
+3
@@ -139,4 +139,7 @@ class IrFakeOverrideFunctionImpl(
|
||||
symbol.bind(this)
|
||||
return this
|
||||
}
|
||||
|
||||
override val isBound: Boolean
|
||||
get() = _symbol != null
|
||||
}
|
||||
|
||||
+3
@@ -126,4 +126,7 @@ class IrFakeOverridePropertyImpl(
|
||||
symbol.bind(this)
|
||||
return this
|
||||
}
|
||||
|
||||
override val isBound: Boolean
|
||||
get() = _symbol != null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user