Migrate compiler, idea and others to new case conversion api
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ class FunctionInvokeDescriptor private constructor(
|
||||
"E" -> "receiver"
|
||||
else -> {
|
||||
// Type parameter "P1" -> value parameter "p1", "P2" -> "p2", etc.
|
||||
typeParameterName.toLowerCase()
|
||||
typeParameterName.lowercase()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ internal class DescriptorRendererOptionsImpl : DescriptorRendererOptions {
|
||||
assert(!field.name.startsWith("is")) { "Fields named is* are not supported here yet" }
|
||||
val value = property.getValue(
|
||||
this,
|
||||
PropertyReference1Impl(DescriptorRendererOptionsImpl::class, field.name, "get" + field.name.capitalize())
|
||||
PropertyReference1Impl(DescriptorRendererOptionsImpl::class, field.name, "get" + field.name.replaceFirstChar(Char::uppercaseChar))
|
||||
)
|
||||
field.set(copy, copy.property(value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user