Update testData in bytecodeText (argument nullability assertions)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Missing IMPLICIT_NOTNULL casts
|
||||
import java.util.ArrayList
|
||||
|
||||
fun foo(): Any {
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Missing IMPLICIT_NOTNULL casts
|
||||
|
||||
class A<T> {
|
||||
fun add(element: T) {}
|
||||
}
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Missing IMPLICIT_NOTNULL casts
|
||||
// FILE: A.java
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
||||
+4
@@ -1,4 +1,8 @@
|
||||
// FILE: test/CallableDescriptor.java
|
||||
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// ^ TODO decide if we should generate nullability assertions on arguments of 'contains' and other funs with special bridges
|
||||
|
||||
package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
Reference in New Issue
Block a user