From e2e87bd107f5f2503e721d64c4551733f02e0800 Mon Sep 17 00:00:00 2001 From: Dmitrii Gridin Date: Thu, 19 Jan 2023 11:51:45 +0100 Subject: [PATCH] [FIR] CustomAnnotationTypeAttribute: drop redundant type specification ^KTIJ-23547 ^KTIJ-24141 --- .../kotlin/fir/types/CustomAnnotationTypeAttribute.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/CustomAnnotationTypeAttribute.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/CustomAnnotationTypeAttribute.kt index 787478b42f2..43eb2bc9159 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/CustomAnnotationTypeAttribute.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/CustomAnnotationTypeAttribute.kt @@ -5,7 +5,6 @@ package org.jetbrains.kotlin.fir.types -import org.jetbrains.kotlin.fir.declarations.FirDeclaration import org.jetbrains.kotlin.fir.expressions.FirAnnotation import org.jetbrains.kotlin.fir.render import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol @@ -13,9 +12,9 @@ import kotlin.reflect.KClass class CustomAnnotationTypeAttribute( val annotations: List, - val containerSymbols: List> = emptyList(), + val containerSymbols: List> = emptyList(), ) : ConeAttribute() { - constructor(annotations: List, containerSymbol: FirBasedSymbol?) : this( + constructor(annotations: List, containerSymbol: FirBasedSymbol<*>?) : this( annotations, listOfNotNull(containerSymbol), )