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
+4 -4
View File
@@ -7,10 +7,10 @@ class Foo {
fun box() : String {
val a = Foo()
val b = Foo()
if (!a.identityEquals(a)) return "fail 1"
if (!b.identityEquals(b)) return "fail 2"
if (b.identityEquals(a)) return "fail 3"
if (a.identityEquals(b)) return "fail 4"
if (a !== a) return "fail 1"
if (b !== b) return "fail 2"
if (b === a) return "fail 3"
if (a === b) return "fail 4"
if( a !=b ) return "fail5"
return "OK"
}