[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
@@ -57,7 +57,7 @@ FILE fqName:foo fileName:/main.kt
|
||||
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in foo.Derived'
|
||||
CALL 'public final fun <get-s> (): kotlin.String declared in foo.A' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: TYPE_OP type=foo.A origin=IMPLICIT_NOTNULL typeOperand=foo.A
|
||||
GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:a type:@[FlexibleNullability] foo.A? visibility:protected/*protected and package*/' type=@[FlexibleNullability] foo.A? origin=GET_PROPERTY
|
||||
GET_FIELD 'FIELD IR_EXTERNAL_JAVA_DECLARATION_STUB name:a type:@[FlexibleNullability] foo.A? visibility:protected/*protected and package*/' type=@[FlexibleNullability] foo.A? origin=null
|
||||
receiver: GET_VAR '<this>: foo.Derived declared in foo.Derived.box' type=foo.Derived origin=null
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
|
||||
overridden:
|
||||
|
||||
Reference in New Issue
Block a user