[FIR] Set type arguments also in provideDelegate property reference

This commit is contained in:
Mikhail Glukhikh
2020-04-02 15:59:59 +03:00
parent 8bf4ec66a9
commit b21da3910a
8 changed files with 5 additions and 300 deletions
@@ -175,6 +175,7 @@ class FirDeclarationsResolveTransformer(transformer: FirBodyResolveTransformer)
(returnExpression.result as? FirFunctionCall)?.replacePropertyReferenceTypeInDelegateAccessors(property)
}
(property.setter?.body?.statements?.singleOrNull() as? FirFunctionCall)?.replacePropertyReferenceTypeInDelegateAccessors(property)
(property.delegate as? FirFunctionCall)?.replacePropertyReferenceTypeInDelegateAccessors(property)
}
private fun transformPropertyWithDelegate(property: FirProperty) {