Migrate compiler, idea and others to new case conversion api

This commit is contained in:
Abduqodiri Qurbonzoda
2021-04-08 02:28:57 +03:00
parent aa543c6631
commit 40d1849f33
138 changed files with 239 additions and 224 deletions
@@ -310,7 +310,7 @@ private fun printType(flags: Flags, output: (String) -> Unit): KmTypeVisitor =
printType(flags) { argumentTypeString ->
arguments += buildString {
if (variance != KmVariance.INVARIANT) {
append(variance.name.toLowerCase(Locale.US)).append(" ")
append(variance.name.lowercase()).append(" ")
}
append(argumentTypeString)
}
@@ -400,7 +400,7 @@ private fun printTypeParameter(
append("@").append(renderAnnotation(annotation)).append(" ")
}
if (variance != KmVariance.INVARIANT) {
append(variance.name.toLowerCase(Locale.US)).append(" ")
append(variance.name.lowercase()).append(" ")
}
append("T#$id")
if (settings.isVerbose) {