diff --git a/compiler/ir/ir.tree/gen/org/jetbrains/kotlin/ir/declarations/impl/IrEnumEntryImpl.kt b/compiler/ir/ir.tree/gen/org/jetbrains/kotlin/ir/declarations/impl/IrEnumEntryImpl.kt index bd5a5f050f1..19e9e8c430b 100644 --- a/compiler/ir/ir.tree/gen/org/jetbrains/kotlin/ir/declarations/impl/IrEnumEntryImpl.kt +++ b/compiler/ir/ir.tree/gen/org/jetbrains/kotlin/ir/declarations/impl/IrEnumEntryImpl.kt @@ -1,8 +1,13 @@ /* - * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ +// This file was generated automatically. See compiler/ir/ir.tree/tree-generator/ReadMe.md. +// DO NOT MODIFY IT MANUALLY. + +@file:Suppress("DuplicatedCode", "unused") + package org.jetbrains.kotlin.ir.declarations.impl import org.jetbrains.kotlin.descriptors.ClassDescriptor @@ -18,21 +23,23 @@ class IrEnumEntryImpl @IrImplementationDetail constructor( override val startOffset: Int, override val endOffset: Int, override var origin: IrDeclarationOrigin, - override val symbol: IrEnumEntrySymbol, - override var name: Name, override val factory: IrFactory, + override var name: Name, + override val symbol: IrEnumEntrySymbol, ) : IrEnumEntry() { - init { - symbol.bind(this) - } + override var annotations: List = emptyList() override lateinit var parent: IrDeclarationParent - override var annotations: List = emptyList() @ObsoleteDescriptorBasedAPI override val descriptor: ClassDescriptor get() = symbol.descriptor - override var correspondingClass: IrClass? = null override var initializerExpression: IrExpressionBody? = null + + override var correspondingClass: IrClass? = null + + init { + symbol.bind(this) + } } diff --git a/compiler/ir/ir.tree/tree-generator/src/org/jetbrains/kotlin/ir/generator/ImplementationConfigurator.kt b/compiler/ir/ir.tree/tree-generator/src/org/jetbrains/kotlin/ir/generator/ImplementationConfigurator.kt index b6f7caf9df5..f9b8b473af3 100644 --- a/compiler/ir/ir.tree/tree-generator/src/org/jetbrains/kotlin/ir/generator/ImplementationConfigurator.kt +++ b/compiler/ir/ir.tree/tree-generator/src/org/jetbrains/kotlin/ir/generator/ImplementationConfigurator.kt @@ -94,7 +94,7 @@ object ImplementationConfigurator : AbstractIrTreeImplementationConfigurator() { } impl(enumEntry) { - implementation.doPrint = false + defaultNull("correspondingClass", "initializerExpression") } impl(script) {