FIR2IR: get rid of setParentAndContent + fixes around anonymous objects
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/thisReferenceBeforeClassDeclared.kt
|
||||
FUN name:test visibility:public modality:FINAL <> ($receiver:<root>.WithCompanion) returnType:kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.WithCompanion
|
||||
BLOCK_BODY
|
||||
VAR name:test1 type:<uninitialized parent>.<anonymous> [val]
|
||||
VAR name:test1 type:<root>.test.<no name provided> [val]
|
||||
BLOCK type=<root>.test.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS OBJECT name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.WithCompanion]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.test.<no name provided>
|
||||
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/thisReferenceBeforeClassDeclared.kt
|
||||
ERROR_CALL 'Cannot find delegated constructor call' type=<root>.WithCompanion
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.WithCompanion]'
|
||||
CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.test.<no name provided>' type=<root>.test.<no name provided> origin=null
|
||||
VAR name:test2 type:<uninitialized parent>.<anonymous> [val]
|
||||
VAR name:test2 type:<root>.test.<no name provided> [val]
|
||||
BLOCK type=<root>.test.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS OBJECT name:<no name provided> modality:FINAL visibility:local superTypes:[<root>.WithCompanion]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.test.<no name provided>
|
||||
|
||||
Reference in New Issue
Block a user