[IR] Autogenerate IrTypeParameterImpl
^KT-65773 In Progress
This commit is contained in:
committed by
Space Team
parent
6de200dea1
commit
e23aff7256
+14
-11
@@ -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.TypeParameterDescriptor
|
||||
@@ -18,30 +23,28 @@ import org.jetbrains.kotlin.ir.types.IrType
|
||||
import org.jetbrains.kotlin.name.Name
|
||||
import org.jetbrains.kotlin.types.Variance
|
||||
|
||||
// IMPORTANT: This class is used in the Compose IDE plugin (platform 233).
|
||||
// Don't rename it or change its constructor's signature so as not to break binary compatibility when an older version of
|
||||
// the Compose IDE plugin is used with a newer version of the Kotlin IDE plugin that vendors the updated compiler version.
|
||||
class IrTypeParameterImpl @IrImplementationDetail constructor(
|
||||
override val startOffset: Int,
|
||||
override val endOffset: Int,
|
||||
override var origin: IrDeclarationOrigin,
|
||||
override val symbol: IrTypeParameterSymbol,
|
||||
override val factory: IrFactory,
|
||||
override var name: Name,
|
||||
override val symbol: IrTypeParameterSymbol,
|
||||
override var variance: Variance,
|
||||
override var index: Int,
|
||||
override var isReified: Boolean,
|
||||
override var variance: Variance,
|
||||
override val factory: IrFactory = IrFactoryImpl,
|
||||
) : IrTypeParameter() {
|
||||
init {
|
||||
symbol.bind(this)
|
||||
}
|
||||
override var annotations: List<IrConstructorCall> = emptyList()
|
||||
|
||||
override lateinit var parent: IrDeclarationParent
|
||||
override var annotations: List<IrConstructorCall> = emptyList()
|
||||
|
||||
@ObsoleteDescriptorBasedAPI
|
||||
override val descriptor: TypeParameterDescriptor
|
||||
get() = symbol.descriptor
|
||||
|
||||
override var superTypes: List<IrType> = emptyList()
|
||||
|
||||
init {
|
||||
symbol.bind(this)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ object ImplementationConfigurator : AbstractIrTreeImplementationConfigurator() {
|
||||
}
|
||||
|
||||
impl(typeParameter) {
|
||||
implementation.doPrint = false
|
||||
defaultEmptyList("superTypes")
|
||||
}
|
||||
|
||||
impl(valueParameter) {
|
||||
|
||||
Reference in New Issue
Block a user