Files
kotlin-fork/compiler/testData/ir/irText/classes/qualifiedSuperCalls.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

96 lines
6.7 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/qualifiedSuperCalls.kt
CLASS INTERFACE name:ILeft modality:ABSTRACT visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:ILeft flags:
FUN name:foo visibility:public modality:OPEN <> ($this:ILeft) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:ILeft flags:
BLOCK_BODY
PROPERTY name:bar type:kotlin.Int visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:ILeft) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:ILeft flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value=1
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:
CLASS INTERFACE name:IRight modality:ABSTRACT visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:IRight flags:
FUN name:foo visibility:public modality:OPEN <> ($this:IRight) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:IRight flags:
BLOCK_BODY
PROPERTY name:bar type:kotlin.Int visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:IRight) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:IRight flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value=2
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:
CLASS CLASS name:CBoth modality:FINAL visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:CBoth flags:
CONSTRUCTOR visibility:public <> () returnType:CBoth flags:
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='CBoth'
FUN name:foo visibility:public modality:OPEN <> ($this:CBoth) returnType:Unit flags:
overridden:
FUN name:foo visibility:public modality:OPEN <> ($this:ILeft) returnType:Unit flags:
FUN name:foo visibility:public modality:OPEN <> ($this:IRight) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:CBoth flags:
BLOCK_BODY
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
CALL 'foo(): Unit' superQualifier=IRight type=kotlin.Unit origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
PROPERTY name:bar type:kotlin.Int visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:CBoth) returnType:Int flags:
overridden:
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:ILeft) returnType:Int flags:
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:IRight) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:CBoth flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: CALL '<get-bar>(): Int' superQualifier=ILeft type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
overridden:
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, 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 FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) 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 FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: