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:
Alexander Udalov
2014-02-05 20:15:48 +04:00
parent ec30d52978
commit c3e5b4bed2
2 changed files with 35 additions and 35 deletions
@@ -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))
}