[IR] [Refactoring] Add toString and String::plus to IrBuiltins
Also use `OperatorNameConventions` constants instead of magic strings
This commit is contained in:
@@ -16,8 +16,8 @@ import org.jetbrains.kotlin.util.OperatorNameConventions
|
||||
|
||||
object FunctionsFromAny {
|
||||
val EQUALS_METHOD_NAME = OperatorNameConventions.EQUALS
|
||||
val HASH_CODE_METHOD_NAME = Name.identifier("hashCode")
|
||||
val TO_STRING_METHOD_NAME = Name.identifier("toString")
|
||||
val HASH_CODE_METHOD_NAME = OperatorNameConventions.HASH_CODE
|
||||
val TO_STRING_METHOD_NAME = OperatorNameConventions.TO_STRING
|
||||
|
||||
fun addFunctionFromAnyIfNeeded(
|
||||
thisDescriptor: ClassDescriptor,
|
||||
|
||||
Reference in New Issue
Block a user