Fix compilation of infix calls (KT-2929)

#KT-2929 Fixed
This commit is contained in:
Peter Brachwitz
2012-10-29 22:01:22 +01:00
committed by Dmitry Jemerov
parent c4bda6a260
commit 81de3cd46a
4 changed files with 23 additions and 1 deletions
@@ -0,0 +1,7 @@
fun foo(): Int {
val a = "test"
val b = "test"
return a compareTo b
}
fun box(): String = if(foo() == 0) "OK" else "Fail"