[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun calc(x: List<String>?): Int {
|
||||
// x should be non-null in arguments list
|
||||
x?.subList(x.size - 1, x.size)
|
||||
// but not also here!
|
||||
return x.<!INAPPLICABLE_CANDIDATE!>size<!>
|
||||
}
|
||||
Reference in New Issue
Block a user