Files
kotlin-fork/libraries/stdlib/js-ir/runtime/unlinked.kt
T
Dmitriy Dolovov 3ec4a8d6f3 [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
2022-01-26 13:36:24 +03:00

12 lines
390 B
Kotlin

/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.js
internal class IrLinkageError(message: String?) : Error(message)
internal fun throwLinkageError(message: String?): Nothing {
throw IrLinkageError(message)
}