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:
committed by
Space Team
parent
2bafcddf7a
commit
e46ef0bbec
+1
-1
@@ -63,7 +63,7 @@ internal class KtDiagnosticConverter(private val conversions: Map<AbstractKtDiag
|
|||||||
is KtDiagnosticFactory0 -> KtFirDiagnostic0Creator {
|
is KtDiagnosticFactory0 -> KtFirDiagnostic0Creator {
|
||||||
KtCompilerPluginDiagnostic0Impl(it as KtPsiSimpleDiagnostic, token)
|
KtCompilerPluginDiagnostic0Impl(it as KtPsiSimpleDiagnostic, token)
|
||||||
}
|
}
|
||||||
is KtDiagnosticFactory1<*> -> KtFirDiagnostic1Creator {
|
is KtDiagnosticFactory1<*> -> KtFirDiagnostic1Creator<Any?> { // Type argument specified because of KT-55281
|
||||||
KtCompilerPluginDiagnostic1Impl(
|
KtCompilerPluginDiagnostic1Impl(
|
||||||
it as KtPsiDiagnosticWithParameters1<*>,
|
it as KtPsiDiagnosticWithParameters1<*>,
|
||||||
token,
|
token,
|
||||||
|
|||||||
Reference in New Issue
Block a user