Zac Sweers
12/05/2024, 2:50 PMdmitriy.novozhilov
12/05/2024, 3:06 PMTYPEALIAS_EXPANSION_DEPRECATION_ERROR
It's declared as KtDiagnosticFactory3
with three parameters
Its message "''{0}'' uses ''{1}'', which is an error. {2}."
contains {0}
, {1}
and {2}
as placeholders for actual arguments
In each parameter you can use whatever type you want, just provide the proper renderer for them (renderer is a basically (T) -> String
converter)Zac Sweers
12/05/2024, 3:07 PMdmitriy.novozhilov
12/05/2024, 3:07 PMString
parameter, declare its message as "{0}"
and compute the whole message at the reporting sideZac Sweers
12/05/2024, 4:04 PM