[FIR IDE] Add forgotten space to renderer in diagnostic generator

This commit is contained in:
Dmitriy Novozhilov
2021-07-09 11:57:17 +03:00
committed by teamcityserver
parent 22a4da024b
commit c3b20c9ccb
2 changed files with 2 additions and 2 deletions
@@ -18,7 +18,7 @@ object KtDiagnosticClassRenderer : AbstractDiagnosticsDataClassRenderer() {
}
private fun SmartPrinter.printDiagnosticClasses(diagnosticList: HLDiagnosticList) {
inBracketsWithIndent("sealed class KtFirDiagnostic<PSI: PsiElement> : KtDiagnosticWithPsi<PSI>") {
inBracketsWithIndent("sealed class KtFirDiagnostic<PSI : PsiElement> : KtDiagnosticWithPsi<PSI>") {
for (diagnostic in diagnosticList.diagnostics) {
printDiagnosticClass(diagnostic)
println()
@@ -65,7 +65,7 @@ import org.jetbrains.kotlin.types.Variance
* DO NOT MODIFY IT MANUALLY
*/
sealed class KtFirDiagnostic<PSI: PsiElement> : KtDiagnosticWithPsi<PSI> {
sealed class KtFirDiagnostic<PSI : PsiElement> : KtDiagnosticWithPsi<PSI> {
abstract class Unsupported : KtFirDiagnostic<PsiElement>() {
override val diagnosticClass get() = Unsupported::class
abstract val unsupported: String