Fix FIR bootstrap caused by KT-55281

In this branch it's necessary, because we started reporting diagnostics
that have been ignored before
This commit is contained in:
Denis.Zharkov
2022-12-05 17:24:09 +01:00
committed by Space Team
parent 2bafcddf7a
commit e46ef0bbec
@@ -63,7 +63,7 @@ internal class KtDiagnosticConverter(private val conversions: Map<AbstractKtDiag
is KtDiagnosticFactory0 -> KtFirDiagnostic0Creator {
KtCompilerPluginDiagnostic0Impl(it as KtPsiSimpleDiagnostic, token)
}
is KtDiagnosticFactory1<*> -> KtFirDiagnostic1Creator {
is KtDiagnosticFactory1<*> -> KtFirDiagnostic1Creator<Any?> { // Type argument specified because of KT-55281
KtCompilerPluginDiagnostic1Impl(
it as KtPsiDiagnosticWithParameters1<*>,
token,