[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:
Mikhail Glukhikh
2020-02-03 13:40:16 +03:00
parent b25d99c1e5
commit 7dca4d2fee
7 changed files with 48 additions and 48 deletions
@@ -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