FIR: add classifiers to local scopes, process local class symbols correctly
This commit is contained in:
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:ALocal modality:ABSTRACT visibility:local superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.outer.ALocal
|
||||
CONSTRUCTOR visibility:public <> () returnType:IrErrorType [primary]
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.outer.ALocal [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ALocal modality:ABSTRACT visibility:local superTypes:[kotlin.Any]'
|
||||
@@ -21,11 +21,24 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
|
||||
correspondingProperty: PROPERTY name:avar visibility:public modality:ABSTRACT [var]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.outer.ALocal
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean
|
||||
overridden:
|
||||
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int
|
||||
overridden:
|
||||
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String
|
||||
overridden:
|
||||
public open fun toString (): kotlin.String declared in kotlin.Any
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
CLASS CLASS name:Local modality:FINAL visibility:local superTypes:[IrErrorType]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.outer.Local
|
||||
CONSTRUCTOR visibility:public <> () returnType:IrErrorType [primary]
|
||||
CONSTRUCTOR visibility:public <> () returnType:<root>.outer.Local [primary]
|
||||
BLOCK_BODY
|
||||
ERROR_CALL 'Cannot find delegated constructor call' type=IrErrorType
|
||||
ERROR_CALL 'Cannot find delegated constructor call' type=<root>.outer.Local
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Local modality:FINAL visibility:local superTypes:[IrErrorType]'
|
||||
FUN name:afun visibility:public modality:FINAL <> ($this:<root>.outer.Local) returnType:kotlin.Unit
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.outer.Local
|
||||
|
||||
Reference in New Issue
Block a user