KT-2334 partly fix: boolean to object coercion

This commit is contained in:
Alex Tkachman
2012-08-04 12:46:49 +03:00
parent 301b55788e
commit 34a0b0dcd4
3 changed files with 21 additions and 2 deletions
@@ -0,0 +1,13 @@
import kotlin.test.*
import org.junit.Test as test
public class Test {
test fun f(): Unit {
assertEquals(true, !false)
}
}
fun box() : String {
Test().f()
return "OK"
}