Fix IrType rendering, update testData
This commit is contained in:
@@ -1,29 +1,27 @@
|
||||
FILE fqName:<root> fileName:/suppressedNonPublicCall.kt
|
||||
CLASS CLASS name:C modality:FINAL visibility:public flags:
|
||||
CLASS CLASS name:C modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
|
||||
superClasses:
|
||||
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
|
||||
CONSTRUCTOR visibility:public <> () returnType:C flags:primary
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
FUN name:bar visibility:internal modality:FINAL <> ($this:C) returnType:Unit flags:
|
||||
FUN name:bar visibility:internal modality:FINAL <> ($this:C) returnType:kotlin.Unit flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:C flags:
|
||||
BLOCK_BODY
|
||||
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:
|
||||
FUN name:foo visibility:public modality:FINAL <> ($receiver:C) returnType:Unit flags:inline
|
||||
FUN name:foo visibility:public modality:FINAL <> ($receiver:C) returnType:kotlin.Unit flags:inline
|
||||
$receiver: VALUE_PARAMETER name:<this> type:C flags:
|
||||
BLOCK_BODY
|
||||
CALL 'bar(): Unit' type=kotlin.Unit origin=null
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
FILE fqName:<root> fileName:/unresolvedReference.kt
|
||||
PROPERTY name:test1 type:[ERROR : Type for unresolved] visibility:public modality:FINAL flags:val
|
||||
PROPERTY name:test1 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test1 type:[ERROR : Type for unresolved] visibility:public flags:final
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:[ERROR : Type for unresolved] flags:
|
||||
correspondingProperty: PROPERTY name:test1 type:[ERROR : Type for unresolved] visibility:public modality:FINAL flags:val
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): [ERROR : Type for unresolved]'
|
||||
GET_FIELD 'test1: [ERROR : Type for unresolved]' type=[ERROR : Type for unresolved] origin=null
|
||||
PROPERTY name:test2 type:[ERROR : Unresolved] visibility:public modality:FINAL flags:val
|
||||
PROPERTY name:test2 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test2 type:[ERROR : Unresolved] visibility:public flags:final
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:[ERROR : Unresolved] flags:
|
||||
correspondingProperty: PROPERTY name:test2 type:[ERROR : Unresolved] visibility:public modality:FINAL flags:val
|
||||
correspondingProperty: PROPERTY name:test2 visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): [ERROR : Unresolved]'
|
||||
GET_FIELD 'test2: [ERROR : Unresolved]' type=[ERROR : Unresolved] origin=null
|
||||
PROPERTY name:test3 type:[ERROR : Type for 42.unresolved(56)] visibility:public modality:FINAL flags:val
|
||||
PROPERTY name:test3 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test3 type:[ERROR : Type for 42.unresolved(56)] visibility:public flags:final
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
receiver: CONST Int type=kotlin.Int value=42
|
||||
CONST Int type=kotlin.Int value=56
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:[ERROR : Type for 42.unresolved(56)] flags:
|
||||
correspondingProperty: PROPERTY name:test3 type:[ERROR : Type for 42.unresolved(56)] visibility:public modality:FINAL flags:val
|
||||
correspondingProperty: PROPERTY name:test3 visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): [ERROR : Type for 42.unresolved(56)]'
|
||||
GET_FIELD 'test3: [ERROR : Type for 42.unresolved(56)]' type=[ERROR : Type for 42.unresolved(56)] origin=null
|
||||
PROPERTY name:test4 type:[ERROR : Type for 42 *] visibility:public modality:FINAL flags:val
|
||||
PROPERTY name:test4 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test4 type:[ERROR : Type for 42 *] visibility:public flags:final
|
||||
EXPRESSION_BODY
|
||||
ERROR_EXPR '' type=[ERROR : ]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:[ERROR : Type for 42 *] flags:
|
||||
correspondingProperty: PROPERTY name:test4 type:[ERROR : Type for 42 *] visibility:public modality:FINAL flags:val
|
||||
correspondingProperty: PROPERTY name:test4 visibility:public modality:FINAL flags:val
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): [ERROR : Type for 42 *]'
|
||||
GET_FIELD 'test4: [ERROR : Type for 42 *]' type=[ERROR : Type for 42 *] origin=null
|
||||
|
||||
Reference in New Issue
Block a user