Skip to content

Commit a4f7981

Browse files
committed
Swift: accept test changes
1 parent f81f30c commit a4f7981

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
deadEnd
2+
| for.swift:12:33:12:56 | array |

swift/ql/test/library-tests/ast/PrintAst.expected

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3310,12 +3310,11 @@ cfg.swift:
33103310
# 533| getBase().getFullyConverted(): [LoadExpr] (AsyncStream<Int>) ...
33113311
#-----| getMethodRef(): [DeclRefExpr] makeAsyncIterator()
33123312
# 533| getPattern(0): [NamedPattern] $i$generator
3313-
# 533| getNextCall(): [CallExpr] call to next(isolation:)
3314-
# 533| getFunction(): [MethodLookupExpr] .next(isolation:)
3313+
# 533| getNextCall(): [CallExpr] call to next()
3314+
# 533| getFunction(): [MethodLookupExpr] .next()
33153315
# 533| getBase(): [DeclRefExpr] $i$generator
33163316
# 533| getBase().getFullyConverted(): [InOutExpr] &...
3317-
#-----| getMethodRef(): [DeclRefExpr] next(isolation:)
3318-
# 533| getArgument(0): (no string representation)
3317+
#-----| getMethodRef(): [DeclRefExpr] next()
33193318
# 533| getNextCall().getFullyConverted(): [AwaitExpr] await ...
33203319
# 533| getBody(): [BraceStmt] { ... }
33213320
# 534| getElement(0): [CallExpr] call to print(_:separator:terminator:)

0 commit comments

Comments
 (0)