[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:
Dmitriy Dolovov
2022-01-18 14:21:17 +03:00
parent 24b011436c
commit 3ec4a8d6f3
+2 -2
View File
@@ -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)
}