[IR] Don't use the GET_PROPERTY origin on IrGetField expressions.

This origin was set somewhat arbitrarily.
It actually only makes sense for `IrCall`s to property getters.
There were no places in lowerings that checked `IrGetField` expressions
for this origin value.

^KT-62500 Fixed
This commit is contained in:
Sergej Jaskiewicz
2024-01-10 18:45:11 +01:00
committed by Space Team
parent f9ea353b60
commit ad9f7bf90e
49 changed files with 75 additions and 75 deletions
@@ -74,8 +74,7 @@ internal fun IrPluginContext.buildSetField(
receiver,
value,
irBuiltIns.unitType,
IrStatementOrigin.GET_PROPERTY,
superQualifierSymbol
superQualifierSymbol = superQualifierSymbol
)
internal fun buildGetField(
@@ -90,8 +89,7 @@ internal fun buildGetField(
symbol,
type ?: symbol.owner.type,
receiver,
IrStatementOrigin.GET_PROPERTY,
superQualifierSymbol
superQualifierSymbol = superQualifierSymbol
)
internal fun buildSimpleType(