Drop identityEquals from builtins, compiler and tests.

This commit is contained in:
Ilya Gorbunov
2016-01-21 19:40:46 +03:00
parent f5f5a2dcc1
commit 4d5ec9be3f
44 changed files with 66 additions and 185 deletions
+1 -1
View File
@@ -4,5 +4,5 @@ fun box(): String {
val r = object : Runnable {
override fun run() {}
}
return if (foo(r).identityEquals(r)) "OK" else "Fail"
return if (foo(r) === r) "OK" else "Fail"
}
+1 -1
View File
@@ -4,5 +4,5 @@ fun box(): String {
val r = object : Runnable {
override fun run() {}
}
return if (foo(r).identityEquals(r)) "OK" else "Fail"
return if (foo(r) === r) "OK" else "Fail"
}