FIR: allow nullable types in diagnostic parameters
This commit is contained in:
committed by
Ilya Kirillov
parent
594fbbb4ef
commit
cceb7197a5
+1
-1
@@ -38,7 +38,7 @@ open class DiagnosticCodeMetaInfoRenderConfiguration(
|
||||
else -> DefaultErrorMessages.getRendererForDiagnostic(codeMetaInfo.diagnostic)
|
||||
}
|
||||
if (renderer is AbstractDiagnosticWithParametersRenderer) {
|
||||
renderer.renderParameters(codeMetaInfo.diagnostic).mapTo(params, Any::toString)
|
||||
renderer.renderParameters(codeMetaInfo.diagnostic).mapTo(params, Any?::toString)
|
||||
}
|
||||
if (renderSeverity)
|
||||
params.add("severity='${codeMetaInfo.diagnostic.severity}'")
|
||||
|
||||
Reference in New Issue
Block a user