Minor, workaround IDE exception KT-38521
This commit is contained in:
+1
-1
@@ -465,10 +465,10 @@ class ReflectionReferencesGenerator(statementGenerator: StatementGenerator) : St
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
private fun getFieldForPropertyReference(originalProperty: PropertyDescriptor) =
|
private fun getFieldForPropertyReference(originalProperty: PropertyDescriptor) =
|
||||||
// NB this is a hack, we really don't know if an arbitrary property has a backing field or not
|
// NB this is a hack, we really don't know if an arbitrary property has a backing field or not
|
||||||
when {
|
when {
|
||||||
@Suppress("DEPRECATION")
|
|
||||||
originalProperty.isDelegated -> null
|
originalProperty.isDelegated -> null
|
||||||
originalProperty.getter != null -> null
|
originalProperty.getter != null -> null
|
||||||
else -> context.symbolTable.referenceField(originalProperty)
|
else -> context.symbolTable.referenceField(originalProperty)
|
||||||
|
|||||||
Reference in New Issue
Block a user