FIR builder: do not generate implicit types for getters
This commit is contained in:
@@ -122,7 +122,7 @@ class RawFirBuilder(val session: FirSession) {
|
||||
isGetter,
|
||||
visibility,
|
||||
if (isGetter) {
|
||||
returnTypeReference.toFirOrImplicitType()
|
||||
returnTypeReference?.convertSafe() ?: propertyType
|
||||
} else {
|
||||
returnTypeReference.toFirOrUnitType()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user