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
@@ -1,6 +1,7 @@
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
// WITH_RUNTIME
// IGNORE_BACKEND: NATIVE
package test
open class A(val value: String)
@@ -29,7 +30,7 @@ fun box(): String {
init = { invokeOrder += " init"; "I" }())
if (result != "C, R, I") return "fail 1: $result"
//Change test after KT-17691 FIX
//Change test after KT-17691 FIX; and remove cloned test for Native (enable this).
if (invokeOrder != " receiver initconstraints") return "fail 2: $invokeOrder"
result = ""