File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
swift/ql/test/library-tests/dataflow/dataflow Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 11testFailures
2- | test.swift:917:12:917:21 | OpenExistentialExpr | Unexpected result: flow=917 |
3- | test.swift:917:24:918:1 | // $ flow=888\n | Missing result:flow=888 |
4- | test.swift:918:12:918:21 | call to source() | Unexpected result: flow=918 |
5- | test.swift:918:24:919:1 | // $ flow=889\n | Missing result:flow=889 |
6- | test.swift:919:12:919:35 | OpenExistentialExpr | Unexpected result: flow=919 |
7- | test.swift:919:38:920:1 | // $ flow=890\n | Missing result:flow=890 |
8- | test.swift:920:12:920:39 | call to source() | Unexpected result: flow=920 |
9- | test.swift:920:42:921:1 | // $ flow=891\n | Missing result:flow=891 |
102failures
Original file line number Diff line number Diff line change @@ -914,10 +914,10 @@ func getMyProtocol() -> MyProtocol { return MyProcotolImpl() }
914914func getMyProtocolImpl( ) -> MyProcotolImpl { return MyProcotolImpl ( ) }
915915
916916func testOpenExistentialExpr( x: MyProtocol , y: MyProcotolImpl ) {
917- sink ( arg: x. source ( ) ) // $ flow=888
918- sink ( arg: y. source ( ) ) // $ flow=889
919- sink ( arg: getMyProtocol ( ) . source ( ) ) // $ flow=890
920- sink ( arg: getMyProtocolImpl ( ) . source ( ) ) // $ flow=891
917+ sink ( arg: x. source ( ) ) // $ flow=917
918+ sink ( arg: y. source ( ) ) // $ flow=918
919+ sink ( arg: getMyProtocol ( ) . source ( ) ) // $ flow=919
920+ sink ( arg: getMyProtocolImpl ( ) . source ( ) ) // $ flow=920
921921}
922922
923923// ---
You can’t perform that action at this time.
0 commit comments