Fix IrType rendering, update testData

This commit is contained in:
Dmitry Petrov
2018-06-27 15:44:31 +03:00
parent 7fd3fac122
commit 799fcc2606
257 changed files with 537426 additions and 7192 deletions
+26 -30
View File
@@ -1,75 +1,71 @@
FILE fqName:<root> fileName:/superCalls.kt
CLASS CLASS name:Base modality:OPEN visibility:public flags:
CLASS CLASS name:Base modality:OPEN visibility:public flags: superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Base flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:Base flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN name:foo visibility:public modality:OPEN <> ($this:Base) returnType:Unit flags:
FUN name:foo visibility:public modality:OPEN <> ($this:Base) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Base flags:
BLOCK_BODY
PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
PROPERTY name:bar visibility:public modality:OPEN flags:val
FIELD PROPERTY_BACKING_FIELD name:bar type:kotlin.String visibility:public flags:final
EXPRESSION_BODY
CONST String type=kotlin.String value=
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:String flags:
correspondingProperty: PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:kotlin.String flags:
correspondingProperty: PROPERTY name:bar visibility:public modality:OPEN flags:val
$this: VALUE_PARAMETER name:<this> type:Base flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): String'
GET_FIELD 'bar: String' type=kotlin.String origin=null
receiver: GET_VAR 'this@Base: Base' type=Base origin=null
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:kotlin.Boolean flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.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:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:Int flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.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:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
overridden:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
CLASS CLASS name:Derived modality:FINAL visibility:public flags:
CLASS CLASS name:Derived modality:FINAL visibility:public flags: superTypes:[Base]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Derived flags:
superClasses:
CLASS CLASS name:Base modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:Derived flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
FUN name:foo visibility:public modality:OPEN <> ($this:Derived) returnType:Unit flags:
FUN name:foo visibility:public modality:OPEN <> ($this:Derived) returnType:kotlin.Unit flags:
overridden:
FUN name:foo visibility:public modality:OPEN <> ($this:Base) returnType:Unit flags:
FUN name:foo visibility:public modality:OPEN <> ($this:Base) returnType:kotlin.Unit flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags:
BLOCK_BODY
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit origin=null
$this: GET_VAR 'this@Derived: Derived' type=Derived origin=null
PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:Derived) returnType:String flags:
correspondingProperty: PROPERTY name:bar type:kotlin.String visibility:public modality:OPEN flags:val
$this: GET_VAR 'this@Derived: Derived' type=Base origin=null
PROPERTY name:bar visibility:public modality:OPEN flags:val
FUN name:<get-bar> visibility:public modality:OPEN <> ($this:Derived) returnType:kotlin.String flags:
correspondingProperty: PROPERTY name:bar visibility:public modality:OPEN flags:val
overridden:
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:String flags:
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:OPEN <> ($this:Base) returnType:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): String'
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR 'this@Derived: Derived' type=Derived origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: GET_VAR 'this@Derived: Derived' type=Base origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.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:kotlin.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:
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.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:kotlin.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:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.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:kotlin.String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: