[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:
committed by
Space Team
parent
f9ea353b60
commit
ad9f7bf90e
+2
-4
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user