Ignored/fixed some tests for Kotlin/Native

This commit is contained in:
Igor Chevdar
2017-06-21 11:56:22 +03:00
committed by jetbrains
parent 7b52300287
commit d7e4350d42
23 changed files with 115 additions and 30 deletions
-3
View File
@@ -5,9 +5,6 @@ operator fun String.get(vararg value: Any) : String {
operator fun Int.get(vararg value: Any) : Int {
return if (value[0] == 44 && value[1] == "example") 1 else 0
}
fun main(args: Array<String>) {
12 [44, "example"]
}
fun box(): String {
if ("foo" [44, "example"] != "OK") return "fail1"