File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
swift/ql/test/library-tests/dataflow/dataflow Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 718
718
| test.swift:650:9:650:9 | arr4 | test.swift:650:9:650:9 | SSA def(arr4) |
719
719
| test.swift:650:16:650:23 | ... .+(_:_:) ... | test.swift:650:9:650:9 | arr4 |
720
720
| test.swift:650:23:650:23 | arr3 | test.swift:651:15:651:15 | arr3 |
721
+ | test.swift:651:15:651:15 | arr3 | test.swift:651:15:651:15 | &... |
722
+ | test.swift:652:15:652:15 | arr4 | test.swift:652:15:652:15 | &... |
721
723
| test.swift:654:9:654:9 | SSA def(arr5) | test.swift:655:15:655:15 | arr5 |
722
724
| test.swift:654:9:654:9 | arr5 | test.swift:654:9:654:9 | SSA def(arr5) |
723
725
| test.swift:654:16:654:51 | call to Array<Element>.init(repeating:count:) | test.swift:654:9:654:9 | arr5 |
Original file line number Diff line number Diff line change @@ -648,8 +648,8 @@ func testArray() {
648
648
649
649
var arr3 = [ 1 ]
650
650
var arr4 = arr2 + arr3
651
- sink ( arg: arr3)
652
- sink ( arg: arr4) // $ MISSING: flow=642
651
+ sink ( arg: arr3 [ 0 ] )
652
+ sink ( arg: arr4 [ 0 ] ) // $ MISSING: flow=642
653
653
654
654
var arr5 = Array ( repeating: source ( ) , count: 2 )
655
655
sink ( arg: arr5 [ 0 ] ) // $ MISSING: flow=654
You can’t perform that action at this time.
0 commit comments