K2/LC: set hasBackingField to false for expect properties
#KT-61173 Fixed
This commit is contained in:
committed by
Space Team
parent
6b217369a8
commit
5ee50f50b5
+1
-1
@@ -81,7 +81,7 @@ val FirPropertySymbol.canNarrowDownGetterType: Boolean
|
||||
// See [BindingContext.BACKING_FIELD_REQUIRED]
|
||||
val FirProperty.hasBackingField: Boolean
|
||||
get() {
|
||||
if (isAbstract) return false
|
||||
if (isAbstract || isExpect) return false
|
||||
if (delegate != null) return false
|
||||
if (hasExplicitBackingField) return true
|
||||
if (symbol is FirSyntheticPropertySymbol) return false
|
||||
|
||||
Reference in New Issue
Block a user