K2: do not support disabling NoSourceCodeInNotNullAssertionExceptions
Disabling of this language feature (see KT-57570) was not supported in the (default) light tree mode, and after this change it will not be supported in the PSI mode as well. This makes the behavior more consistent and allows us to remove the directive IGNORE_BACKEND_K2_LIGHT_TREE in the future (KT-56757).
This commit is contained in:
committed by
Space Team
parent
82a1242f22
commit
b8785fbd90
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: -NoSourceCodeInNotNullAssertionExceptions
|
||||
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
|
||||
// Reason: KT-56760
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: don't support legacy feature (KT-57570)
|
||||
// FILE: test.kt
|
||||
fun f(x: String) = "Fail 1"
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: -NoSourceCodeInNotNullAssertionExceptions
|
||||
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
|
||||
// Reason: KT-56760
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: don't support legacy feature (KT-57570)
|
||||
// FILE: test.kt
|
||||
fun f(x: String) = "Fail 1"
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: -NoSourceCodeInNotNullAssertionExceptions
|
||||
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
|
||||
// Reason: KT-56760
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: don't support legacy feature (KT-57570)
|
||||
// FILE: test.kt
|
||||
fun f(x: String) = "Fail 1"
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: -NoSourceCodeInNotNullAssertionExceptions
|
||||
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
|
||||
// Reason: KT-56760
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: don't support legacy feature (KT-57570)
|
||||
// FILE: test.kt
|
||||
fun f(x: String) = "Fail 1"
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: -NoSourceCodeInNotNullAssertionExceptions
|
||||
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
|
||||
// Reason: KT-56760
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: don't support legacy feature (KT-57570)
|
||||
// FILE: test.kt
|
||||
fun f(x: String) = "Fail 1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user