Fix tests ('infix')

This commit is contained in:
Yan Zhulanow
2015-09-30 21:27:45 +03:00
parent 7e8674c6ee
commit 1b01e7a85a
65 changed files with 146 additions and 132 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
data class StringPair(val first: String, val second: String)
fun String.to(second: String) = StringPair(this, second)
infix fun String.to(second: String) = StringPair(this, second)
fun f(a: String?) {
if (a != null) {