[IR] Turned on a test for K/N + minor refactoring

NothingValueException has already been supported in K/N
This commit is contained in:
Igor Chevdar
2020-06-01 17:40:16 +05:00
parent c29e434d33
commit e41b5fc1c6
2 changed files with 2 additions and 3 deletions
@@ -266,8 +266,7 @@ abstract class Symbols<out T : CommonBackendContext>(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
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: JS
fun <T> something(): T = Any() as T