File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
test/SourceKit/CodeComplete Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
- // REQUIRES: rdar80729544
2
-
3
1
func foo( a a: String ) { }
4
2
func foo( a a: Int ) { }
5
3
func foo( b b: Int ) { }
@@ -15,15 +13,14 @@ func test() {
15
13
// RUN: %FileCheck -check-prefix=NAME_UNSORTED %s < %t.orig.off
16
14
// RUN: not %diff -u %t.orig %t.orig.off
17
15
18
- // Make sure the order is as below, foo(Int) should come before foo(String).
19
- // NAME_SORTED: key.description: "#column"
20
- // NAME_SORTED: key.description: "foo(a: Int)"
21
- // NAME_SORTED-NOT: key.description
22
- // NAME_SORTED: key.description: "foo(a: String)"
23
- // NAME_SORTED-NOT: key.description
24
- // NAME_SORTED: key.description: "foo(b: Int)"
25
- // NAME_SORTED: key.description: "test()"
26
- // NAME_SORTED: key.description: "x"
16
+ // NAME_SORTED: key.name: "#column"
17
+ // NAME_SORTED: key.name: "foo(a:)"
18
+ // NAME_SORTED-NOT: key.name:
19
+ // NAME_SORTED: key.name: "foo(a:)"
20
+ // NAME_SORTED-NOT: key.name:
21
+ // NAME_SORTED: key.name: "foo(b:)"
22
+ // NAME_SORTED: key.name: "test()"
23
+ // NAME_SORTED: key.name: "x"
27
24
28
25
// NAME_UNSORTED-DAG: key.description: "x"
29
26
// NAME_UNSORTED-DAG: key.description: "foo(a: String)"
You can’t perform that action at this time.
0 commit comments