Add toString call when interpolating strings

This commit is contained in:
pTalanov
2012-06-15 17:26:45 +04:00
parent 1ba6470e8d
commit 3bb14ecd7f
4 changed files with 34 additions and 1 deletions
@@ -0,0 +1,11 @@
package foo
fun box(): Boolean {
val t1: Any = "3"
val t2: Any = 3
val t3: Any = "4"
val t4: Any = 4
if (t3 == t4) return false
return t1 != t2
}