Suppress a couple more warnings
This commit is contained in:
@@ -33,6 +33,7 @@ internal open class PlatformImplementations {
|
||||
}
|
||||
|
||||
public open fun getSuppressed(exception: Throwable): List<Throwable> {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
return ReflectThrowable.getSuppressed?.invoke(exception)?.let { (it as Array<Throwable>).asList() }
|
||||
?: emptyList()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user