[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
+15 -1
View File
@@ -1,6 +1,20 @@
// In this test, stdlib class `public value class Result<out T>` within `kotlin` package is replaced with a custom non-generic class
// NATIVE exception: java.util.NoSuchElementException: Collection contains no element matching the predicate
// during `KonanSymbols.kotlinResultGetOrThrow`, since function `Result<T>.getOrThrow()` within `kotlin` package cannot be found during builtins construction,
// since unbound class `Result` is expected, but deserialized one found.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// WASM exception:
// There are still 4 unbound symbols after generation of IR module <main>:
// Unbound public symbol IrClassPublicSymbolImpl: kotlin/Result.Companion|null[0]
// Unbound public symbol IrClassPublicSymbolImpl: kotlin/Result.Failure|null[0]
// Unbound public symbol IrSimpleFunctionPublicSymbolImpl: kotlin/Result.Companion.success|8035950532576827725[0]
// Unbound public symbol IrSimpleFunctionPublicSymbolImpl: kotlin/Result.Failure.exception.<get-exception>|-7777496992132965566[0]
// This could happen if there are two libraries, where one library was compiled against the different version of the other library than the one currently used in the project. Please check that the project configuration is correct and has consistent versions of dependencies.
// IGNORE_BACKEND: WASM
// IGNORE_BACKEND: ANDROID
// IGNORE_BACKEND: NATIVE
// ALLOW_KOTLIN_PACKAGE
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS