File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,10 @@ struct AmbiguousInResultBuilder {
81
81
82
82
func test( myStr: String ) {
83
83
foo {
84
- Text ( #^AMBIGUOUS_IN_RESULT_BUILDER? xfail= TODO^#)
85
- // AMBIGUOUS_IN_RESULT_BUILDER: Begin completions
84
+ Text ( #^AMBIGUOUS_IN_RESULT_BUILDER^#)
86
85
// AMBIGUOUS_IN_RESULT_BUILDER-DAG: Decl[Constructor]/CurrNominal/Flair[ArgLabels]: ['(']{#verbatim: String#}[')'][#Text#]; name=verbatim:
87
- // AMBIGUOUS_IN_RESULT_BUILDER-DAG: Decl[Constructor]/CurrNominal/Flair[ArgLabels]: ['(']{#(content): _ #}[')'][#Text#]; name=:
86
+ // AMBIGUOUS_IN_RESULT_BUILDER-DAG: Decl[Constructor]/CurrNominal/Flair[ArgLabels]: ['(']{#(content): StringProtocol #}[')'][#Text#]; name=:
88
87
// AMBIGUOUS_IN_RESULT_BUILDER-DAG: Decl[LocalVar]/Local/TypeRelation[Convertible]: myStr[#String#]; name=myStr
89
- // AMBIGUOUS_IN_RESULT_BUILDER: End completions
90
88
}
91
89
}
92
90
}
Original file line number Diff line number Diff line change @@ -358,13 +358,12 @@ func testSwitchInResultBuilder() {
358
358
Reduce2 ( )
359
359
Reduce2 { action in
360
360
switch action {
361
- case . #^SWITCH_IN_RESULT_BUILDER? xfail = rdar106720462 ^# alertDismissed :
361
+ case . #^SWITCH_IN_RESULT_BUILDER^# alertDismissed :
362
362
return 0
363
363
}
364
364
}
365
365
}
366
366
}
367
- // SWITCH_IN_RESULT_BUILDER: Begin completions, 1 item
368
367
// SWITCH_IN_RESULT_BUILDER-DAG: Decl[EnumElement]/CurrNominal/Flair[ExprSpecific]/TypeRelation[Convertible]: alertDismissed[#Action#];
369
368
}
370
369
Original file line number Diff line number Diff line change @@ -913,10 +913,10 @@ func testChainedCalls2() {
913
913
914
914
func testChainedCalls3( ) {
915
915
// doBaz() takes a Double. Check that we can recover.
916
- SomeBuilder ( 42 ) . doFoo ( ) . doBaz ( SomeBuilder ( 24 ) ) #^CHAINED_CALLS_3? xfail = FIXME ^#
916
+ SomeBuilder ( 42 ) . doFoo ( ) . doBaz ( SomeBuilder ( 24 ) ) #^CHAINED_CALLS_3^#
917
917
// CHAINED_CALLS_3-DAG: Decl[InstanceMethod]/CurrNominal: .doFoo()[#SomeBuilder#]{{; name=.+$}}
918
918
// CHAINED_CALLS_3-DAG: Decl[InstanceMethod]/CurrNominal: .doBar()[#SomeBuilder#]{{; name=.+$}}
919
- // CHAINED_CALLS_3-DAG: Decl[InstanceMethod]/CurrNominal: .doBaz({#z : Double#})[#SomeBuilder#]{{; name=.+$}}
919
+ // CHAINED_CALLS_3-DAG: Decl[InstanceMethod]/CurrNominal: .doBaz({#(z) : Double#})[#SomeBuilder#]{{; name=.+$}}
920
920
// CHAINED_CALLS_3-DAG: Keyword[self]/CurrNominal: .self[#SomeBuilder#]; name=self
921
921
}
922
922
You can’t perform that action at this time.
0 commit comments