IrConstructorCall support in JVM_IR, JS_IR, and FIR2IR

This commit is contained in:
Dmitry Petrov
2019-03-26 17:25:00 +03:00
parent 82128800c5
commit b78d1bb2b9
287 changed files with 9008 additions and 8128 deletions
+31 -31
View File
@@ -1,64 +1,64 @@
FILE fqName:<root> fileName:/javaInnerClass.kt
CLASS CLASS name:Test1 modality:FINAL visibility:public superTypes:[<root>.J]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1
CONSTRUCTOR visibility:public <> () returnType:<root>.Test1 [primary]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test1
CONSTRUCTOR visibility:public <> () returnType:<root>.Test1 [primary]
BLOCK_BODY
ERROR_CALL 'Cannot find delegated constructor call' type=<root>.Test1
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test1 modality:FINAL visibility:public superTypes:[<root>.J]'
PROPERTY name:test visibility:public modality:FINAL [val]
FIELD PROPERTY_BACKING_FIELD name:test type:IrErrorType visibility:public [final]
PROPERTY name:test visibility:public modality:FINAL [val]
FIELD PROPERTY_BACKING_FIELD name:test type:IrErrorType visibility:public [final]
EXPRESSION_BODY
ERROR_CALL 'Unresolved reference: <Unresolved name: JInner>#' type=IrErrorType
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> ($this:<root>.Test1) returnType:IrErrorType
correspondingProperty: PROPERTY name:test visibility:public modality:FINAL [val]
$this: VALUE_PARAMETER name:<this> type:<root>.Test1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> ($this:<root>.Test1) returnType:IrErrorType
correspondingProperty: PROPERTY name:test visibility:public modality:FINAL [val]
$this: VALUE_PARAMETER name:<this> type:<root>.Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-test> (): IrErrorType declared in <root>.Test1'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test type:IrErrorType visibility:public [final] ' type=IrErrorType origin=null
receiver: GET_VAR '<this>: <root>.Test1 declared in <root>.Test1.<get-test>' type=<root>.Test1 origin=null
FUN FAKE_OVERRIDE name:bar visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Unit
FUN FAKE_OVERRIDE name:bar visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Unit
overridden:
public open fun bar (): kotlin.Unit declared in <root>.J
$this: VALUE_PARAMETER name:<this> type:<root>.J
FUN FAKE_OVERRIDE name:registerNatives visibility:private modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<root>.J
FUN FAKE_OVERRIDE name:registerNatives visibility:private modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
overridden:
private open fun registerNatives (): kotlin.Unit declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:getClass visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:java.lang.Class<*>?
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:getClass visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:java.lang.Class<*>?
overridden:
public final fun getClass (): java.lang.Class<*>? declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Int
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Int
overridden:
public open fun hashCode (): kotlin.Int declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object, obj:kotlin.Any?) returnType:kotlin.Boolean
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object, obj:kotlin.Any?) returnType:kotlin.Boolean
overridden:
public open fun equals (obj: kotlin.Any?): kotlin.Boolean declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
VALUE_PARAMETER name:obj index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:clone visibility:protected/*protected and package*/ modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Any?
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
VALUE_PARAMETER name:obj index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:clone visibility:protected/*protected and package*/ modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Any?
overridden:
protected/*protected and package*/ open fun clone (): kotlin.Any? declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.String?
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.String?
overridden:
public open fun toString (): kotlin.String? declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:notify visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:notify visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
overridden:
public final fun notify (): kotlin.Unit declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:notifyAll visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:notifyAll visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
overridden:
public final fun notifyAll (): kotlin.Unit declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:wait visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object, <anonymous Java parameter>:kotlin.Long) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
FUN FAKE_OVERRIDE name:wait visibility:public modality:FINAL <> ($this:<uninitialized parent>.Object, <anonymous Java parameter>:kotlin.Long) returnType:kotlin.Unit
overridden:
public final fun wait (<anonymous Java parameter>: kotlin.Long): kotlin.Unit declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
VALUE_PARAMETER name:<anonymous Java parameter> index:0 type:kotlin.Long
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
VALUE_PARAMETER name:<anonymous Java parameter> index:0 type:kotlin.Long
FUN FAKE_OVERRIDE name:finalize visibility:protected/*protected and package*/ modality:OPEN <> ($this:<uninitialized parent>.Object) returnType:kotlin.Unit
overridden:
protected/*protected and package*/ open fun finalize (): kotlin.Unit declared in <no parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object
$this: VALUE_PARAMETER name:<this> type:<uninitialized parent>.Object