File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
swift/ql/test/library-tests/dataflow/dataflow Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
1
failures
2
2
testFailures
3
- | test.swift:846:15:846:21 | ...[...] | Unexpected result: flow=871 |
4
- | test.swift:846:24:847:1 | // $ flow=863\n | Missing result:flow=863 |
5
- | test.swift:850:15:850:15 | v | Unexpected result: flow=872 |
6
- | test.swift:850:18:851:1 | // $ flow=864\n | Missing result:flow=864 |
7
- | test.swift:859:15:859:21 | ...[...] | Unexpected result: flow=873 |
8
- | test.swift:859:24:860:1 | // $ SPURIOUS: flow=865\n | Fixed spurious result:flow=865 |
9
- | test.swift:860:15:860:21 | ...[...] | Unexpected result: flow=873 |
10
- | test.swift:860:24:861:1 | // $ flow=865\n | Missing result:flow=865 |
11
- | test.swift:867:15:867:38 | \\...[...] | Unexpected result: flow=873 |
12
- | test.swift:867:41:868:1 | // $ flow=865\n | Missing result:flow=865 |
Original file line number Diff line number Diff line change @@ -843,11 +843,11 @@ func testNestedKeyPathWrite() {
843
843
844
844
func testVarargs1( args: Int ... ) {
845
845
sink ( arg: args)
846
- sink ( arg: args [ 0 ] ) // $ flow=863
846
+ sink ( arg: args [ 0 ] ) // $ flow=871
847
847
}
848
848
849
849
func testVarargs2( _ v: Int , _ args: Int ... ) {
850
- sink ( arg: v) // $ flow=864
850
+ sink ( arg: v) // $ flow=872
851
851
sink ( arg: args)
852
852
sink ( arg: args [ 0 ] )
853
853
sink ( arg: args [ 1 ] )
@@ -856,15 +856,15 @@ func testVarargs2(_ v: Int, _ args: Int...) {
856
856
func testVarargs3( _ v: Int , _ args: Int ... ) {
857
857
sink ( arg: v)
858
858
sink ( arg: args)
859
- sink ( arg: args [ 0 ] ) // $ SPURIOUS: flow=865
860
- sink ( arg: args [ 1 ] ) // $ flow=865
859
+ sink ( arg: args [ 0 ] ) // $ SPURIOUS: flow=873
860
+ sink ( arg: args [ 1 ] ) // $ flow=873
861
861
862
862
for arg in args {
863
- sink ( arg: arg) // $ MISSING: flow=865
863
+ sink ( arg: arg) // $ MISSING: flow=873
864
864
}
865
865
866
866
let myKeyPath = \[ Int ] [ 1 ]
867
- sink ( arg: args [ keyPath: myKeyPath] ) // $ flow=865
867
+ sink ( arg: args [ keyPath: myKeyPath] ) // $ flow=873
868
868
}
869
869
870
870
func testVarargsCaller( ) {
You can’t perform that action at this time.
0 commit comments