Skip to content

Commit 890b9d5

Browse files
committed
Swift: Fix line numbers.
1 parent 225a9fe commit 890b9d5

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
11
testFailures
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 |
102
failures

swift/ql/test/library-tests/dataflow/dataflow/test.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,10 +914,10 @@ func getMyProtocol() -> MyProtocol { return MyProcotolImpl() }
914914
func getMyProtocolImpl() -> MyProcotolImpl { return MyProcotolImpl() }
915915

916916
func 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
// ---

0 commit comments

Comments
 (0)