[FIR] Use super<Enum> as delegated calls in enum constructors
This commit is contained in:
+2
-1
@@ -132,7 +132,8 @@ FILE fqName:<root> fileName:/classesWithAnnotations.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.TestEnum
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.TestEnum [primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
ENUM_CONSTRUCTOR_CALL 'public constructor <init> (name: kotlin.String, ordinal: kotlin.Int) [primary] declared in kotlin.Enum'
|
||||
<E>: <root>.TestEnum
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS ENUM_CLASS name:TestEnum modality:FINAL visibility:public superTypes:[kotlin.Enum<<root>.TestEnum>]'
|
||||
FUN name:values visibility:public modality:FINAL <> ($this:<root>.TestEnum) returnType:kotlin.Array<<root>.TestEnum>
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.TestEnum
|
||||
|
||||
Reference in New Issue
Block a user