Missed '@JvmStatic' on 'addSuppressed'

This commit is contained in:
Andrew Golovashevich 2025-03-26 04:33:20 +03:00
parent 0b241ea7e2
commit 7d947fb9e3

View File

@ -3,6 +3,7 @@ package ru.landgrafhomyak.utility.highlevel_try_finally
@PublishedApi
internal actual object ExceptionsKt {
@PublishedApi
@JvmStatic
internal actual fun addSuppressed(e1: Throwable?, e2: Throwable?) {
if (e1 == null) throw NullPointerException("e1")
if (e2 == null) throw NullPointerException("e2")