[FIR] Only one specific diagnostic for data class without parameters left

^KT-60042 fixed
This commit is contained in:
Ilya Goncharov
2023-11-01 13:58:44 +00:00
committed by Space Team
parent 17dc60aac9
commit 3673dff959
13 changed files with 13 additions and 37 deletions
@@ -238,6 +238,7 @@ object LightTreePositioningStrategies {
//in FE 1.0 this is part of DeclarationHeader abstract strategy
if (node.tokenType != KtNodeTypes.OBJECT_DECLARATION
&& node.tokenType != KtNodeTypes.FUN
&& node.tokenType != KtNodeTypes.PRIMARY_CONSTRUCTOR
&& node.tokenType != KtNodeTypes.SECONDARY_CONSTRUCTOR
&& node.tokenType != KtNodeTypes.OBJECT_LITERAL
) {