Fix compilation of infix calls (KT-2929)
#KT-2929 Fixed
This commit is contained in:
committed by
Dmitry Jemerov
parent
c4bda6a260
commit
81de3cd46a
@@ -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"
|
||||
Reference in New Issue
Block a user