diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/ir/Ir.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/ir/Ir.kt index 8b5ef4edab8..ce51952c101 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/ir/Ir.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/ir/Ir.kt @@ -266,8 +266,7 @@ abstract class Symbols(val context: T, irBuiltIns: abstract val ThrowUninitializedPropertyAccessException: IrSimpleFunctionSymbol - open val ThrowKotlinNothingValueException: IrSimpleFunctionSymbol - get() = TODO("Support KotlinNothingValueException in Kotlin/Native and make this val abstract") + abstract val ThrowKotlinNothingValueException: IrSimpleFunctionSymbol abstract val stringBuilder: IrClassSymbol diff --git a/compiler/testData/codegen/box/nothingValue/nothingValueException.kt b/compiler/testData/codegen/box/nothingValue/nothingValueException.kt index 9db59b442df..f680d56adc6 100644 --- a/compiler/testData/codegen/box/nothingValue/nothingValueException.kt +++ b/compiler/testData/codegen/box/nothingValue/nothingValueException.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS fun something(): T = Any() as T