[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:
committed by
Space Team
parent
85450c93a6
commit
b65a68ca0d
@@ -3,6 +3,8 @@
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
@file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
|
||||
import a.*
|
||||
|
||||
fun main() {
|
||||
|
||||
@@ -131,7 +131,8 @@ public actual open class AssertionError : Error {
|
||||
constructor(message: String?, cause: Throwable?) : super(message, cause)
|
||||
}
|
||||
|
||||
public actual open class NoWhenBranchMatchedException : RuntimeException {
|
||||
@Suppress("ACTUAL_WITHOUT_EXPECT")
|
||||
internal actual open class NoWhenBranchMatchedException : RuntimeException {
|
||||
|
||||
actual constructor() : super()
|
||||
|
||||
@@ -142,7 +143,8 @@ public actual open class NoWhenBranchMatchedException : RuntimeException {
|
||||
actual constructor(cause: Throwable?) : super(cause)
|
||||
}
|
||||
|
||||
public actual open class UninitializedPropertyAccessException : RuntimeException {
|
||||
@Suppress("ACTUAL_WITHOUT_EXPECT")
|
||||
internal actual open class UninitializedPropertyAccessException : RuntimeException {
|
||||
|
||||
actual constructor() : super()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user