Enable NoSourceCodeInNotNullAssertionExceptions since 1.9

#KT-57570 Fixed
This commit is contained in:
Alexander Udalov
2023-05-22 15:52:49 +02:00
committed by Space Team
parent ad1dfd5cb9
commit a4121fa8f3
4 changed files with 5 additions and 12 deletions
@@ -1,5 +1,4 @@
// IGNORE_BACKEND_K2_LIGHT_TREE: JVM_IR
// Reason: KT-56756
// TARGET_BACKEND: JVM_IR
// FILE: j/J.java
package j;
@@ -21,6 +20,6 @@ fun test() {
}
// @KKt.class:
// 1 LDC "a"
// 0 LDC "a"
// 0 checkExpressionValueIsNotNull
// 1 checkNotNullExpressionValue
// 1 checkNotNull
@@ -20,4 +20,4 @@ fun test() {
}
// @KKt.class:
// 1 checkNotNullExpressionValue
// 1 checkNotNull