Raw FIR: set source for delegate field references

Related to KT-59864
This commit is contained in:
Mikhail Glukhikh
2023-09-28 13:52:40 +02:00
committed by Space Team
parent 9d3bf69212
commit 162ba59d7f
2 changed files with 2 additions and 1 deletions
@@ -377,6 +377,7 @@ fun <T> FirPropertyBuilder.generateAccessorsByDelegate(
fun delegateAccess() = buildPropertyAccessExpression {
source = fakeSource
calleeReference = buildDelegateFieldReference {
source = fakeSource
resolvedSymbol = delegateFieldSymbol
}
if (ownerRegularOrAnonymousObjectSymbol != null) {