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 {
8181
8282 func test( myStr: String ) {
8383 foo {
84- Text ( #^AMBIGUOUS_IN_RESULT_BUILDER? xfail= TODO^#)
85- // AMBIGUOUS_IN_RESULT_BUILDER: Begin completions
84+ Text ( #^AMBIGUOUS_IN_RESULT_BUILDER^#)
8685// 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=:
8887// AMBIGUOUS_IN_RESULT_BUILDER-DAG: Decl[LocalVar]/Local/TypeRelation[Convertible]: myStr[#String#]; name=myStr
89- // AMBIGUOUS_IN_RESULT_BUILDER: End completions
9088 }
9189 }
9290}
Original file line number Diff line number Diff line change @@ -358,13 +358,12 @@ func testSwitchInResultBuilder() {
358358 Reduce2 ( )
359359 Reduce2 { action in
360360 switch action {
361- case . #^SWITCH_IN_RESULT_BUILDER? xfail = rdar106720462 ^# alertDismissed :
361+ case . #^SWITCH_IN_RESULT_BUILDER^# alertDismissed :
362362 return 0
363363 }
364364 }
365365 }
366366 }
367- // SWITCH_IN_RESULT_BUILDER: Begin completions, 1 item
368367// SWITCH_IN_RESULT_BUILDER-DAG: Decl[EnumElement]/CurrNominal/Flair[ExprSpecific]/TypeRelation[Convertible]: alertDismissed[#Action#];
369368}
370369
Original file line number Diff line number Diff line change @@ -913,10 +913,10 @@ func testChainedCalls2() {
913913
914914func testChainedCalls3( ) {
915915 // 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^#
917917// CHAINED_CALLS_3-DAG: Decl[InstanceMethod]/CurrNominal: .doFoo()[#SomeBuilder#]{{; name=.+$}}
918918// 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=.+$}}
920920// CHAINED_CALLS_3-DAG: Keyword[self]/CurrNominal: .self[#SomeBuilder#]; name=self
921921}
922922
You can’t perform that action at this time.
0 commit comments