[Commonizer] Calculate hash code by pure name in approximation keys

This commit is contained in:
Dmitriy Dolovov
2021-02-12 12:20:09 +03:00
parent 6ff5704ef9
commit 7f8f1dc4f8
@@ -84,5 +84,5 @@ private fun additionalValueParameterNamesHash(callable: FunctionDescriptor): Int
if (callable.annotations.none { it.isObjCInteropCallableAnnotation })
return 0 // do not calculate hash for non-ObjC callables
return callable.valueParameters.fold(0) { acc, next -> acc.appendHashCode(next.name) }
return callable.valueParameters.fold(0) { acc, next -> acc.appendHashCode(next.name.asString()) }
}