diff --git a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Exceptions.kt b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Exceptions.kt index a77fbb7f750..be0feda4785 100644 --- a/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Exceptions.kt +++ b/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Exceptions.kt @@ -6,11 +6,15 @@ package org.jetbrains.kotlin.backend.konan import org.jetbrains.kotlin.konan.KonanException +import org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments /** * Represents a compilation error caused by mistakes in an input file, e.g. undefined reference. */ -class KonanCompilationException(message: String = "", cause: Throwable? = null) : KonanException(message, cause) +class KonanCompilationException( + message: String = "", + cause: Throwable? = null +) : KotlinExceptionWithAttachments(message, cause) /** * Internal compiler error: could not deserialize IR for inline function body.