Split GenerateNotNullAssertionsTests into standard box and bytecode tests
This commit is contained in:
committed by
Alexander Udalov
parent
dfd0042a5b
commit
dd20b74030
@@ -0,0 +1,14 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Missing IMPLICIT_NOTNULL casts
|
||||
import java.util.ArrayList
|
||||
|
||||
fun foo(): Any {
|
||||
val a = ArrayList<String>()
|
||||
return a.get(0)
|
||||
}
|
||||
|
||||
fun bar(a: ArrayList<String>) {
|
||||
}
|
||||
|
||||
// 1 checkExpressionValueIsNotNull
|
||||
// 1 checkParameterIsNotNull
|
||||
Reference in New Issue
Block a user