@@ -3403,6 +3403,7 @@ declarations.swift:
3403
3403
# 144| getElement(0): [CallExpr] call to id()
3404
3404
# 144| getFunction(): [MethodRefExpr] .id()
3405
3405
# 144| getBase(): [IntegerLiteralExpr] 42
3406
+ # 144| [Diagnostics] Diagnostics
3406
3407
# 146| [ClassDecl] GenericClass
3407
3408
# 146| getGenericTypeParam(0): [GenericTypeParamDecl] A
3408
3409
# 146| getGenericTypeParam(1): [GenericTypeParamDecl] B
@@ -3481,6 +3482,11 @@ declarations.swift:
3481
3482
# 173| getElement(5): [IfConfigDecl] #if ...
3482
3483
# 174| getElement(6): [IntegerLiteralExpr] 9
3483
3484
# 175| getElement(7): [IntegerLiteralExpr] 10
3485
+ # 163| [Diagnostics] Diagnostics
3486
+ # 164| [Diagnostics] Diagnostics
3487
+ # 165| [Diagnostics] Diagnostics
3488
+ # 174| [Diagnostics] Diagnostics
3489
+ # 175| [Diagnostics] Diagnostics
3484
3490
expressions.swift:
3485
3491
# 1| [TopLevelCodeDecl] { ... }
3486
3492
# 1| getBody(): [BraceStmt] { ... }
@@ -3646,6 +3652,7 @@ expressions.swift:
3646
3652
# 31| getDest(): [DiscardAssignmentExpr] _
3647
3653
# 31| getSource(): [IntegerLiteralExpr] 15
3648
3654
# 31| getSource().getFullyConverted(): [IsExpr] ... is ...
3655
+ # 31| [Diagnostics] Diagnostics
3649
3656
# 32| [TopLevelCodeDecl] { ... }
3650
3657
# 32| getBody(): [BraceStmt] { ... }
3651
3658
# 32| getElement(0): [AssignExpr] ... = ...
@@ -3658,12 +3665,14 @@ expressions.swift:
3658
3665
# 33| getDest(): [DiscardAssignmentExpr] _
3659
3666
# 33| getSource(): [IntegerLiteralExpr] 15
3660
3667
# 33| getSource().getFullyConverted(): [ConditionalCheckedCastExpr] (Double?) ...
3668
+ # 33| [Diagnostics] Diagnostics
3661
3669
# 34| [TopLevelCodeDecl] { ... }
3662
3670
# 34| getBody(): [BraceStmt] { ... }
3663
3671
# 34| getElement(0): [AssignExpr] ... = ...
3664
3672
# 34| getDest(): [DiscardAssignmentExpr] _
3665
3673
# 34| getSource(): [IntegerLiteralExpr] 15
3666
3674
# 34| getSource().getFullyConverted(): [ForcedCheckedCastExpr] (Double) ...
3675
+ # 34| [Diagnostics] Diagnostics
3667
3676
# 35| [TopLevelCodeDecl] { ... }
3668
3677
# 35| getBody(): [BraceStmt] { ... }
3669
3678
# 35| getElement(0): [CallExpr] call to print(_:separator:terminator:)
@@ -3680,6 +3689,10 @@ expressions.swift:
3680
3689
# 35| getExpr(): [DefaultArgumentExpr] default separator
3681
3690
# 35| getArgument(2): [Argument] terminator: default terminator
3682
3691
# 35| getExpr(): [DefaultArgumentExpr] default terminator
3692
+ # 35| [Diagnostics] Diagnostics
3693
+ # 35| [Diagnostics] Diagnostics
3694
+ # 35| [Diagnostics] Diagnostics
3695
+ # 35| [Diagnostics] Diagnostics
3683
3696
# 37| [ConcreteFuncDecl] closured(closure:)
3684
3697
# 37| InterfaceType = ((Int, Int) -> Int) -> ()
3685
3698
# 37| getParam(0): [ParamDecl] closure
@@ -3691,6 +3704,7 @@ expressions.swift:
3691
3704
# 38| getExpr(): [IntegerLiteralExpr] 5
3692
3705
# 38| getArgument(1): [Argument] : 7
3693
3706
# 38| getExpr(): [IntegerLiteralExpr] 7
3707
+ # 38| [Diagnostics] Diagnostics
3694
3708
# 41| [TopLevelCodeDecl] { ... }
3695
3709
# 41| getBody(): [BraceStmt] { ... }
3696
3710
# 41| getElement(0): [CallExpr] call to closured(closure:)
@@ -3956,13 +3970,15 @@ expressions.swift:
3956
3970
# 87| getBody(): [BraceStmt] { ... }
3957
3971
# 87| getElement(0): [ForceValueExpr] ...!
3958
3972
# 87| getSubExpr(): [DeclRefExpr] opt
3973
+ # 87| [Diagnostics] Diagnostics
3959
3974
# 88| [TopLevelCodeDecl] { ... }
3960
3975
# 88| getBody(): [BraceStmt] { ... }
3961
3976
# 88| getElement(0): [ForceValueExpr] ...!
3962
3977
# 88| getSubExpr(): [SubscriptExpr] ...[...]
3963
3978
# 88| getBase(): [DeclRefExpr] d
3964
3979
# 88| getArgument(0): [Argument] : a
3965
3980
# 88| getExpr(): [StringLiteralExpr] a
3981
+ # 88| [Diagnostics] Diagnostics
3966
3982
# 90| [ClassDecl] ToPtr
3967
3983
# 90| getMember(0): [DestructorDecl] deinit()
3968
3984
# 90| InterfaceType = (ToPtr) -> () -> ()
@@ -4003,6 +4019,7 @@ expressions.swift:
4003
4019
# 93| getArgument(0): [Argument] : opaque
4004
4020
# 93| getExpr(): [DeclRefExpr] opaque
4005
4021
# 93| getExpr().getFullyConverted(): [PointerToPointerExpr] (UnsafeRawPointer) ...
4022
+ # 93| [Diagnostics] Diagnostics
4006
4023
# 95| [StructDecl] HasProperty
4007
4024
# 96| getMember(0): [PatternBindingDecl] var ... = ...
4008
4025
# 96| getPattern(0): [TypedPattern] ... as ...
@@ -4191,6 +4208,10 @@ expressions.swift:
4191
4208
# 138| getExpr(): [IntegerLiteralExpr] 3
4192
4209
# 138| getArgument(1): [Argument] : 4
4193
4210
# 138| getExpr(): [IntegerLiteralExpr] 4
4211
+ # 132| [Diagnostics] Diagnostics
4212
+ # 133| [Diagnostics] Diagnostics
4213
+ # 134| [Diagnostics] Diagnostics
4214
+ # 136| [Diagnostics] Diagnostics
4194
4215
# 141| [StructDecl] B
4195
4216
# 142| getMember(0): [PatternBindingDecl] var ... = ...
4196
4217
# 142| getPattern(0): [TypedPattern] ... as ...
@@ -4399,6 +4420,9 @@ expressions.swift:
4399
4420
# 163| getExpr(): [IntegerLiteralExpr] 1
4400
4421
# 163| getArgument(1): [Argument] : 0
4401
4422
# 163| getExpr(): [IntegerLiteralExpr] 0
4423
+ # 152| [Diagnostics] Diagnostics
4424
+ # 153| [Diagnostics] Diagnostics
4425
+ # 154| [Diagnostics] Diagnostics
4402
4426
patterns.swift:
4403
4427
# 1| [ConcreteFuncDecl] basic_patterns()
4404
4428
# 1| InterfaceType = () -> ()
@@ -4437,6 +4461,11 @@ patterns.swift:
4437
4461
# 6| getInit(0): [StringLiteralExpr] paren
4438
4462
# 6| getPattern(0): [AnyPattern] _
4439
4463
# 6| getPattern(0).getFullyUnresolved(): [ParenPattern] (...)
4464
+ # 2| [Diagnostics] Diagnostics
4465
+ # 3| [Diagnostics] Diagnostics
4466
+ # 4| [Diagnostics] Diagnostics
4467
+ # 4| [Diagnostics] Diagnostics
4468
+ # 4| [Diagnostics] Diagnostics
4440
4469
# 9| [ConcreteFuncDecl] switch_patterns()
4441
4470
# 9| InterfaceType = () -> ()
4442
4471
# 9| getBody(): [BraceStmt] { ... }
@@ -4575,16 +4604,38 @@ patterns.swift:
4575
4604
# 50| getPattern(): [BoolPattern] false
4576
4605
# 12| [ConcreteVarDecl] xx
4577
4606
# 12| Type = Int
4607
+ # 12| [Diagnostics] Diagnostics
4578
4608
# 12| [ConcreteVarDecl] yy
4579
4609
# 12| Type = Int
4610
+ # 12| [Diagnostics] Diagnostics
4611
+ # 12| [Diagnostics] Diagnostics
4612
+ # 15| [Diagnostics] Diagnostics
4613
+ # 16| [Diagnostics] Diagnostics
4614
+ # 17| [Diagnostics] Diagnostics
4615
+ # 17| [Diagnostics] Diagnostics
4616
+ # 26| [Diagnostics] Diagnostics
4617
+ # 27| [Diagnostics] Diagnostics
4618
+ # 28| [Diagnostics] Diagnostics
4580
4619
# 28| [ConcreteVarDecl] i
4581
4620
# 28| Type = Int
4582
4621
# 28| [ConcreteVarDecl] s
4583
4622
# 28| Type = String
4623
+ # 28| [Diagnostics] Diagnostics
4624
+ # 28| [Diagnostics] Diagnostics
4625
+ # 33| [Diagnostics] Diagnostics
4584
4626
# 34| [ConcreteVarDecl] n
4585
4627
# 34| Type = Int
4628
+ # 34| [Diagnostics] Diagnostics
4629
+ # 34| [Diagnostics] Diagnostics
4630
+ # 35| [Diagnostics] Diagnostics
4631
+ # 41| [Diagnostics] Diagnostics
4586
4632
# 42| [ConcreteVarDecl] x
4587
4633
# 42| Type = String
4634
+ # 42| [Diagnostics] Diagnostics
4635
+ # 42| [Diagnostics] Diagnostics
4636
+ # 43| [Diagnostics] Diagnostics
4637
+ # 49| [Diagnostics] Diagnostics
4638
+ # 50| [Diagnostics] Diagnostics
4588
4639
statements.swift:
4589
4640
# 1| [ConcreteFuncDecl] loop()
4590
4641
# 1| InterfaceType = () -> ()
@@ -4877,6 +4928,7 @@ statements.swift:
4877
4928
# 65| getSubPattern(): [NamedPattern] xx
4878
4929
# 65| getInitializer(): [DeclRefExpr] x
4879
4930
# 65| getThen(): [BraceStmt] { ... }
4931
+ # 65| [Diagnostics] Diagnostics
4880
4932
# 67| [TopLevelCodeDecl] { ... }
4881
4933
# 67| getBody(): [BraceStmt] { ... }
4882
4934
# 67| getElement(0): [IfStmt] if ... then { ... }
0 commit comments