identityEquals is deprecated

This commit is contained in:
Mikhail Glukhikh
2015-09-25 19:44:04 +03:00
parent aada13c91f
commit 4b9d136ced
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ package kotlin
* Returns true if the receiver and the [other] object are the same object instance, or if they
* are both null.
*/
@Deprecated("This function is deprecated, use === instead", ReplaceWith("this === other"))
public fun Any?.identityEquals(other: Any?): Boolean // = this === other
/**