From cc87aabaec8ddfd0f89c9600ea4480f853a270ca Mon Sep 17 00:00:00 2001 From: Kirill Rakhman Date: Tue, 2 May 2023 15:01:33 +0200 Subject: [PATCH] [Test infrastructure] Remove redundant suppress --- .../test/frontend/fir/handlers/FirDiagnosticCodeMetaInfo.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticCodeMetaInfo.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticCodeMetaInfo.kt index 357938bd119..4ca08c17bf7 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticCodeMetaInfo.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticCodeMetaInfo.kt @@ -62,7 +62,6 @@ class FirDiagnosticCodeMetaRenderConfiguration( val diagnostic = codeMetaInfo.diagnostic - @Suppress("UNCHECKED_CAST") val renderer = RootDiagnosticRendererFactory(diagnostic) if (renderer is AbstractKtDiagnosticWithParametersRenderer) { renderer.renderParameters(diagnostic).mapTo(params, Any?::toString)