From 7d947fb9e3a10f6c7fa3795b4d81cdaba7bdd6f3 Mon Sep 17 00:00:00 2001 From: Andrew Golovashevich Date: Wed, 26 Mar 2025 04:33:20 +0300 Subject: [PATCH] Missed '@JvmStatic' on 'addSuppressed' --- .../landgrafhomyak/utility/highlevel_try_finally/ExceptionsKt.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jvmMain/kotlin/ru/landgrafhomyak/utility/highlevel_try_finally/ExceptionsKt.kt b/src/jvmMain/kotlin/ru/landgrafhomyak/utility/highlevel_try_finally/ExceptionsKt.kt index 9279da7..60a8103 100644 --- a/src/jvmMain/kotlin/ru/landgrafhomyak/utility/highlevel_try_finally/ExceptionsKt.kt +++ b/src/jvmMain/kotlin/ru/landgrafhomyak/utility/highlevel_try_finally/ExceptionsKt.kt @@ -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")