@@ -3206,6 +3206,90 @@ cfg.swift:
32063206# 519| getElement(6): [ReturnStmt] return ...
32073207# 519| getResult(): [DeclRefExpr] x
32083208# 519| getResult().getFullyConverted(): [LoadExpr] (Int) ...
3209+ # 522| [NamedFunction] testAsyncFor()
3210+ # 522| InterfaceType = () async -> ()
3211+ # 522| getBody(): [BraceStmt] { ... }
3212+ # 523| getVariable(0): [ConcreteVarDecl] stream
3213+ # 523| Type = AsyncStream<Int>
3214+ # 523| getElement(0): [PatternBindingDecl] var ... = ...
3215+ # 523| getInit(0): [CallExpr] call to AsyncStream<Element>.init(_:bufferingPolicy:_:)
3216+ # 523| getFunction(): [MethodLookupExpr] AsyncStream<Element>.init(_:bufferingPolicy:_:)
3217+ # 523| getBase(): [TypeExpr] AsyncStream<Int>.Type
3218+ # 523| getTypeRepr(): [TypeRepr] AsyncStream<Int>
3219+ # 523| getMethodRef(): [DeclRefExpr] AsyncStream<Element>.init(_:bufferingPolicy:_:)
3220+ # 523| getArgument(0): [Argument] : Int.Type
3221+ # 523| getExpr(): [TypeExpr] Int.Type
3222+ # 523| getTypeRepr(): [TypeRepr] Int
3223+ # 523| getExpr().getFullyConverted(): [DotSelfExpr] .self
3224+ # 523| getArgument(1): [Argument] bufferingPolicy: call to ...
3225+ # 523| getExpr(): [CallExpr] call to ...
3226+ # 523| getFunction(): [MethodLookupExpr] .bufferingNewest
3227+ # 523| getBase(): [TypeExpr] AsyncStream<Int>.Continuation.BufferingPolicy.Type
3228+ # 523| getTypeRepr(): [TypeRepr] AsyncStream<Int>.Continuation.BufferingPolicy
3229+ # 523| getMethodRef(): [DeclRefExpr] bufferingNewest
3230+ # 523| getArgument(0): [Argument] : 5
3231+ # 523| getExpr(): [IntegerLiteralExpr] 5
3232+ # 523| getArgument(2): [Argument] : { ... }
3233+ # 523| getExpr(): [ExplicitClosureExpr] { ... }
3234+ # 524| getParam(0): [ParamDecl] continuation
3235+ # 524| Type = AsyncStream<Int>.Continuation
3236+ # 523| getBody(): [BraceStmt] { ... }
3237+ # 525| getElement(0): [BraceStmt] { ... }
3238+ # 525| getElement(0): [CallExpr] call to detached(priority:operation:)
3239+ # 525| getFunction(): [MethodLookupExpr] .detached(priority:operation:)
3240+ # 525| getBase(): [TypeExpr] Task<(), Never>.Type
3241+ # 525| getTypeRepr(): [TypeRepr] Task<(), Never>
3242+ # 525| getMethodRef(): [DeclRefExpr] detached(priority:operation:)
3243+ # 525| getArgument(0): [Argument] priority: default priority
3244+ # 525| getExpr(): [DefaultArgumentExpr] default priority
3245+ # 525| getArgument(1): [Argument] operation: { ... }
3246+ # 525| getExpr(): [ExplicitClosureExpr] { ... }
3247+ # 525| getBody(): [BraceStmt] { ... }
3248+ # 526| getElement(0): [ForEachStmt] for ... in ... { ... }
3249+ # 526| getPattern(): [NamedPattern] i
3250+ # 526| getSequence(): [BinaryExpr] ... ....(_:_:) ...
3251+ # 526| getFunction(): [MethodLookupExpr] ....(_:_:)
3252+ # 526| getBase(): [TypeExpr] Int.Type
3253+ # 526| getTypeRepr(): [TypeRepr] Int
3254+ # 526| getMethodRef(): [DeclRefExpr] ...(_:_:)
3255+ # 526| getArgument(0): [Argument] : 1
3256+ # 526| getExpr(): [IntegerLiteralExpr] 1
3257+ # 526| getArgument(1): [Argument] : 100
3258+ # 526| getExpr(): [IntegerLiteralExpr] 100
3259+ # 526| getBody(): [BraceStmt] { ... }
3260+ # 527| getElement(0): [CallExpr] call to yield(_:)
3261+ # 527| getFunction(): [MethodLookupExpr] .yield(_:)
3262+ # 527| getBase(): [DeclRefExpr] continuation
3263+ # 527| getMethodRef(): [DeclRefExpr] yield(_:)
3264+ # 527| getArgument(0): [Argument] : i
3265+ # 527| getExpr(): [DeclRefExpr] i
3266+ # 529| getElement(1): [CallExpr] call to finish()
3267+ # 529| getFunction(): [MethodLookupExpr] .finish()
3268+ # 529| getBase(): [DeclRefExpr] continuation
3269+ # 529| getMethodRef(): [DeclRefExpr] finish()
3270+ # 527| getCapture(0): [CapturedDecl] continuation
3271+ # 525| getElement(1): [ReturnStmt] return
3272+ # 523| getPattern(0): [NamedPattern] stream
3273+ # 533| getElement(1): [ForEachStmt] for ... in ... { ... }
3274+ # 533| getPattern(): [NamedPattern] i
3275+ # 533| getSequence(): [DeclRefExpr] stream
3276+ # 533| getBody(): [BraceStmt] { ... }
3277+ # 534| getElement(0): [CallExpr] call to print(_:separator:terminator:)
3278+ # 534| getFunction(): [DeclRefExpr] print(_:separator:terminator:)
3279+ # 534| getArgument(0): [Argument] : [...]
3280+ # 534| getExpr(): [VarargExpansionExpr] [...]
3281+ # 534| getSubExpr(): [ArrayExpr] [...]
3282+ # 534| getElement(0): [DeclRefExpr] i
3283+ # 534| getElement(0).getFullyConverted(): [ErasureExpr] (Any) ...
3284+ # 534| getArgument(1): [Argument] separator: default separator
3285+ # 534| getExpr(): [DefaultArgumentExpr] default separator
3286+ # 534| getArgument(2): [Argument] terminator: default terminator
3287+ # 534| getExpr(): [DefaultArgumentExpr] default terminator
3288+ # 525| [NilLiteralExpr] nil
3289+ # 526| [ConcreteVarDecl] i
3290+ # 526| Type = Int
3291+ # 533| [ConcreteVarDecl] i
3292+ # 533| Type = Int
32093293declarations.swift:
32103294# 1| [StructDecl] Foo
32113295# 2| getMember(0): [PatternBindingDecl] var ... = ...
0 commit comments