Inherit KonanCompilationException from KotlinExceptionWithAttachments
to prevent it from wrapping by phaser (see https://github.com/JetBrains/kotlin/commit/2552540f7165571dd2fdefdef4f09d858e4fa92a)
This commit is contained in:
committed by
SvyatoslavScherbina
parent
a85bf0c5e4
commit
983c43c736
+5
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user