Fix codegen & bytecode tests after unifying exceptions in JVM backend

See KT-22275 for details
This commit is contained in:
Mikhail Zarechenskiy
2020-01-20 13:51:11 +03:00
parent 1ed7e33f42
commit 5c5635ce20
34 changed files with 55 additions and 55 deletions
@@ -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
@@ -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
@@ -1,4 +1,4 @@
fun <T : Any> foo(t: T) = t
// 1 checkParameterIsNotNull
// 0 checkNotNullParameter
// 0 checkParameterIsNotNull
// 1 checkNotNullParameter
@@ -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