Migrate compiler, idea and others to new case conversion api
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user