Skip to content

Commit 31f21a9

Browse files
committed
Merge pull request #2293 from apple/ide-tests-remove-curried-functions
2 parents 23025e4 + 7ad5b2a commit 31f21a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/IDE/complete_expr_postfix_begin.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func testExprPostfixBeginIgnored3(fooParam: FooStruct) {
164164

165165
//===--- Test that we include function parameters in completion results.
166166

167-
func testFindFuncParam1(fooParam: FooStruct, a: Int, b: Float, c: inout Double)(d: inout Double) {
167+
func testFindFuncParam1(fooParam: FooStruct, a: Int, b: Float, c: inout Double, d: inout Double) {
168168
#^FIND_FUNC_PARAM_1^#
169169
// FIND_FUNC_PARAM_1: Begin completions
170170
// FIND_FUNC_PARAM_1-DAG: Decl[LocalVar]/Local: a[#Int#]{{; name=.+$}}
@@ -183,7 +183,7 @@ func testFindFuncParam2<Foo : FooProtocol>(fooParam: FooStruct, foo: Foo) {
183183
}
184184

185185
struct TestFindFuncParam3_4 {
186-
func testFindFuncParam3(a: Int, b: Float)(c: Double) {
186+
func testFindFuncParam3(a: Int, b: Float, c: Double) {
187187
#^FIND_FUNC_PARAM_3^#
188188
// FIND_FUNC_PARAM_3: Begin completions
189189
// FIND_FUNC_PARAM_3-DAG: Decl[LocalVar]/Local: self[#TestFindFuncParam3_4#]{{; name=.+$}}
@@ -229,7 +229,7 @@ struct TestFindFuncParam5_6<T> {
229229
}
230230

231231
class TestFindFuncParam7 {
232-
func testFindFuncParam7(a: Int, b: Float)(c: Double) {
232+
func testFindFuncParam7(a: Int, b: Float, c: Double) {
233233
#^FIND_FUNC_PARAM_7^#
234234
// FIND_FUNC_PARAM_7: Begin completions
235235
// FIND_FUNC_PARAM_7-DAG: Decl[LocalVar]/Local: self[#TestFindFuncParam7#]{{; name=.+$}}

0 commit comments

Comments
 (0)