Fix codegen & bytecode tests after unifying exceptions in JVM backend
See KT-22275 for details
This commit is contained in:
Vendored
+2
-2
@@ -14,8 +14,8 @@ fun asNullablePrimitive(c: AsNonNullPrimitive?) {}
|
||||
fun asNullableReference(c: AsNonNullReference?) {}
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 6 checkParameterIsNotNull
|
||||
// 0 checkNotNullParameter
|
||||
// 0 checkParameterIsNotNull
|
||||
// 6 checkNotNullParameter
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 4 checkParameterIsNotNull
|
||||
|
||||
@@ -8,7 +8,7 @@ fun foo(): Any {
|
||||
fun bar(a: ArrayList<String>) {
|
||||
}
|
||||
|
||||
// 1 checkExpressionValueIsNotNull
|
||||
// 0 checkNotNullExpressionValue
|
||||
// 1 checkParameterIsNotNull
|
||||
// 0 checkNotNullParameter
|
||||
// 0 checkExpressionValueIsNotNull
|
||||
// 1 checkNotNullExpressionValue
|
||||
// 0 checkParameterIsNotNull
|
||||
// 1 checkNotNullParameter
|
||||
|
||||
+2
-2
@@ -6,5 +6,5 @@ public fun <R : Any> foo(x: MutableCollection<in R>, block: java.util.AbstractLi
|
||||
x.add(block.get(0))
|
||||
}
|
||||
|
||||
// 1 checkExpressionValueIsNotNull
|
||||
// 0 checkNotNullExpressionValue
|
||||
// 0 checkExpressionValueIsNotNull
|
||||
// 1 checkNotNullExpressionValue
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
fun <T : Any> foo(t: T) = t
|
||||
|
||||
// 1 checkParameterIsNotNull
|
||||
// 0 checkNotNullParameter
|
||||
// 0 checkParameterIsNotNull
|
||||
// 1 checkNotNullParameter
|
||||
|
||||
+4
-4
@@ -32,7 +32,7 @@ internal fun bar(a: A<String, Int>, b: B<String>, c: C) {
|
||||
}
|
||||
|
||||
// @JavaMultipleSubstitutionsKt.class
|
||||
// 3 checkExpressionValueIsNotNull
|
||||
// 0 checkNotNullExpressionValue
|
||||
// 3 checkParameterIsNotNull
|
||||
// 0 checkNotNullParameter
|
||||
// 0 checkExpressionValueIsNotNull
|
||||
// 3 checkNotNullExpressionValue
|
||||
// 0 checkParameterIsNotNull
|
||||
// 3 checkNotNullParameter
|
||||
|
||||
Vendored
+2
-2
@@ -21,5 +21,5 @@ fun test() {
|
||||
|
||||
// @KKt.class:
|
||||
// 1 LDC "a"
|
||||
// 1 checkExpressionValueIsNotNull
|
||||
// 0 checkNotNullExpressionValue
|
||||
// 0 checkExpressionValueIsNotNull
|
||||
// 1 checkNotNullExpressionValue
|
||||
|
||||
Reference in New Issue
Block a user