KT-8283: fix Kotlin.equals method to compare arrays by reference

This commit is contained in:
Alexey Andreev
2016-09-07 17:56:04 +03:00
parent a04d60406b
commit a9330057cc
13 changed files with 68 additions and 15 deletions
-4
View File
@@ -53,10 +53,6 @@
return false;
}
if (Array.isArray(obj1)) {
return Kotlin.arrayEquals(obj1, obj2);
}
if (typeof obj1 == "object" && typeof obj1.equals_za3rmp$ === "function") {
return obj1.equals_za3rmp$(obj2);
}