[IR] Rename LinkageError symbol to IrLinkageError
This is needed to 1) avoid ambiguity about the type of linkage used in Kotlin/Native compiler, 2) have the same exception name in JS and Native backends. ^KT-50775
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
|
||||
package kotlin.js
|
||||
|
||||
internal class LinkageError(message: String?) : Error(message)
|
||||
internal class IrLinkageError(message: String?) : Error(message)
|
||||
|
||||
internal fun throwLinkageError(message: String?): Nothing {
|
||||
throw LinkageError(message)
|
||||
throw IrLinkageError(message)
|
||||
}
|
||||
Reference in New Issue
Block a user