[FIR TEST] Update test data for purely implements case (NB: broken)
In this case Java super type arguments should be not null, not flexible
This commit is contained in:
+4
-4
@@ -6,12 +6,12 @@ fun bar(): String? = null
|
||||
|
||||
fun foo() {
|
||||
var x = ArrayList<String>()
|
||||
x.<!INAPPLICABLE_CANDIDATE!>add<!>(null)
|
||||
x.<!INAPPLICABLE_CANDIDATE!>add<!>(bar())
|
||||
x.add(null)
|
||||
x.add(bar())
|
||||
x.add("")
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>x[0] = null<!>
|
||||
<!INAPPLICABLE_CANDIDATE!>x[0] = bar()<!>
|
||||
x[0] = null
|
||||
x[0] = bar()
|
||||
x[0] = ""
|
||||
|
||||
val b1: MutableList<String?> = x
|
||||
|
||||
Reference in New Issue
Block a user