[Wasm] Support throwIAE and throwNoBranchMatchedException
Add a couple of test stubs Unmute tests
This commit is contained in:
committed by
Space
parent
6eb81517a0
commit
fa3e75463e
@@ -21,6 +21,10 @@ internal fun THROW_IAE(): Nothing {
|
||||
throw IllegalArgumentException()
|
||||
}
|
||||
|
||||
internal fun throwNoBranchMatchedException(): Nothing {
|
||||
throw NoWhenBranchMatchedException()
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
internal fun throwUninitializedPropertyAccessException(name: String): Nothing {
|
||||
throw UninitializedPropertyAccessException("lateinit property $name has not been initialized")
|
||||
|
||||
Reference in New Issue
Block a user