Files
kotlin-fork/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.txt
T
Dmitry Petrov e5295d0f78 Generate references to overridden declarations as a separate pass
NB currently it relies on overriddenDescriptors in a FunctionDescriptor,
thus maybe incorrect for transformed declarations.
2018-02-28 10:35:13 +03:00

42 lines
2.6 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/Derived.kt
CLASS CLASS name:Derived modality:FINAL visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Derived flags:
CONSTRUCTOR visibility:public <> () returnType:Derived flags:
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
ANONYMOUS_INITIALIZER Derived
BLOCK_BODY
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
value: CONST Int type=kotlin.Int value=0
FUN name:getValue visibility:public modality:FINAL <> ($this:Derived) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='getValue(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=GET_PROPERTY
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
FUN name:setValue visibility:public modality:FINAL <> ($this:Derived, value:kotlin.Int) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
BLOCK_BODY
SET_FIELD 'value: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
PROPERTY FAKE_OVERRIDE name:value type:kotlin.Int visibility:public modality:FINAL flags:var
FIELD FAKE_OVERRIDE name:value type:kotlin.Int visibility:public
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> (other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> () returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> () returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: