[FIR IDE] Add forgotten space to renderer in diagnostic generator
This commit is contained in:
committed by
teamcityserver
parent
22a4da024b
commit
c3b20c9ccb
+1
-1
@@ -18,7 +18,7 @@ object KtDiagnosticClassRenderer : AbstractDiagnosticsDataClassRenderer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun SmartPrinter.printDiagnosticClasses(diagnosticList: HLDiagnosticList) {
|
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) {
|
for (diagnostic in diagnosticList.diagnostics) {
|
||||||
printDiagnosticClass(diagnostic)
|
printDiagnosticClass(diagnostic)
|
||||||
println()
|
println()
|
||||||
|
|||||||
+1
-1
@@ -65,7 +65,7 @@ import org.jetbrains.kotlin.types.Variance
|
|||||||
* DO NOT MODIFY IT MANUALLY
|
* DO NOT MODIFY IT MANUALLY
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sealed class KtFirDiagnostic<PSI: PsiElement> : KtDiagnosticWithPsi<PSI> {
|
sealed class KtFirDiagnostic<PSI : PsiElement> : KtDiagnosticWithPsi<PSI> {
|
||||||
abstract class Unsupported : KtFirDiagnostic<PsiElement>() {
|
abstract class Unsupported : KtFirDiagnostic<PsiElement>() {
|
||||||
override val diagnosticClass get() = Unsupported::class
|
override val diagnosticClass get() = Unsupported::class
|
||||||
abstract val unsupported: String
|
abstract val unsupported: String
|
||||||
|
|||||||
Reference in New Issue
Block a user