Equality and identity operators.

This commit is contained in:
Dmitry Petrov
2016-08-17 16:50:01 +03:00
committed by Dmitry Petrov
parent db5843adc8
commit 96e3c52878
7 changed files with 157 additions and 36 deletions
+3
View File
@@ -0,0 +1,3 @@
fun test1(a: Int, b: Int) = a == b
fun test2(a: Int, b: Int) = a != b
fun test3(a: Any?, b: Any?) = a == b