[Test] Convert IGNORE: NATIVE directives in box tests from D to I

^KT-59057

Merge-request: KT-MR-10748
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-23 09:11:17 +00:00
committed by Space Team
parent 919d6401f7
commit a036e41809
38 changed files with 107 additions and 610 deletions
@@ -1,3 +1,5 @@
// See the end of KT-8135 description: The same problem appears when using delegating properties with unchecked casts inside
// Test fail reason: ClassCastException is not thrown when using delegating properties with unchecked casts inside
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
@@ -38,7 +40,7 @@ fun box(): String {
val c = A().B()
(del as Delegate<String?>).inner = null
asFailsWithCCE { c.prop } // does not fail in JVM, JS due KT-8135.
asFailsWithCCE { c.prop } // throws AssertionError due to KT-8135.
return "OK"
}