Fix function receiver type in GenerateOperationsMap
It was wrong for fake overrides of equals and hashCode. Also operations map was regenerated after removal of Hashable and moving its members to Any
This commit is contained in:
@@ -167,7 +167,7 @@ private fun JetType.isIntegerType(): Boolean {
|
||||
|
||||
|
||||
private fun FunctionDescriptor.getParametersTypes(): List<JetType> {
|
||||
val list = arrayListOf(getExpectedThisObject()!!.getType())
|
||||
val list = arrayListOf((getContainingDeclaration() as ClassDescriptor).getDefaultType())
|
||||
getValueParameters().map { it.getType() }.forEach {
|
||||
list.add(TypeUtils.makeNotNullable(it))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user