FIR: transform types inside functions & properties

This commit is contained in:
Mikhail Glukhikh
2018-03-20 16:18:23 +03:00
parent be35b904f2
commit 1ba498b021
14 changed files with 183 additions and 27 deletions
@@ -84,7 +84,11 @@ class RawFirBuilder(val session: FirSession) {
isGetter: Boolean
): FirPropertyAccessor {
if (this == null) {
return FirDefaultPropertyAccessor(session, property, isGetter, propertyType)
return if (isGetter) {
FirDefaultPropertyGetter(session, property, propertyType)
} else {
FirDefaultPropertySetter(session, property, propertyType)
}
}
val firAccessor = FirPropertyAccessorImpl(
session,