[K/N and WASM] Internalize NoWhenBranchMatchedException and UninitializedPropertyAccessException

As a part of efforts to stabilize Native stdlib.

Merge-request: KT-MR-9531
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
This commit is contained in:
Abduqodiri Qurbonzoda
2023-04-10 21:10:51 +00:00
committed by Space Team
parent 85450c93a6
commit b65a68ca0d
15 changed files with 34 additions and 6 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ private class CustomThrowableFailure(private val checker: (Throwable) -> Boolean
TestFailedWithException(t) // Unexpected type of exception.
}
@Suppress("PrivatePropertyName")
@Suppress("PrivatePropertyName", "INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
private val NoWhenBranchFailure = CustomThrowableFailure { it is NoWhenBranchMatchedException }
private sealed class Test {