|
17 | 17 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=INIT_2 | %FileCheck %s -check-prefix=GEN_T_DOT
|
18 | 18 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ALIAS_1 | %FileCheck %s -check-prefix=GEN_T
|
19 | 19 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ALIAS_2 | %FileCheck %s -check-prefix=GEN_T_DOT
|
20 |
| -// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_1 | %FileCheck %s -check-prefix=GEN_T |
| 20 | +// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_1 | %FileCheck %s -check-prefix=GEN_T_NOMINAL |
21 | 21 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_2 | %FileCheck %s -check-prefix=GEN_T_DOT
|
22 |
| -// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_3 | %FileCheck %s -check-prefix=GEN_T |
| 22 | +// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_3 | %FileCheck %s -check-prefix=GEN_T_NOMINAL |
23 | 23 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=STRUCT_4 | %FileCheck %s -check-prefix=GEN_T_DOT
|
24 |
| -// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=CLASS_1 | %FileCheck %s -check-prefix=GEN_T |
| 24 | +// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=CLASS_1 | %FileCheck %s -check-prefix=GEN_T_NOMINAL |
25 | 25 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=CLASS_2 | %FileCheck %s -check-prefix=GEN_T_DOT
|
26 |
| -// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ENUM_1 | %FileCheck %s -check-prefix=GEN_T |
| 26 | +// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ENUM_1 | %FileCheck %s -check-prefix=GEN_T_NOMINAL |
27 | 27 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ENUM_2 | %FileCheck %s -check-prefix=GEN_T_DOT
|
28 | 28 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ASSOC_1 | %FileCheck %s -check-prefix=P2
|
29 | 29 | // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=ASSOC_2 | %FileCheck %s -check-prefix=U_DOT
|
@@ -68,7 +68,7 @@ protocol Assoc {
|
68 | 68 | }
|
69 | 69 |
|
70 | 70 | func f1<T>(_: T) where #^FUNC_1^# {}
|
71 |
| -// GEN_T: Decl[GenericTypeParam]/Local: T[#T#]; |
| 71 | +// GEN_T: Decl[GenericTypeParam]/Local: T[#T#]; name=T |
72 | 72 | func f2<T>(_: T) where T.#^FUNC_2^# {}
|
73 | 73 | // GEN_T_DOT: Begin completions
|
74 | 74 | // GEN_T_DOT-DAG: Keyword/None: Type[#T.Type#];
|
@@ -101,6 +101,7 @@ class C1<T> where #^CLASS_1^# {}
|
101 | 101 | class C2<T> where T.#^CLASS_2^# {}
|
102 | 102 | enum E1<T> where #^ENUM_1^# {}
|
103 | 103 | enum E2<T> where T.#^ENUM_2^# {}
|
| 104 | +// GEN_T_NOMINAL: Decl[GenericTypeParam]/CurrNominal: T[#T#]; name=T |
104 | 105 |
|
105 | 106 | protocol P2 {
|
106 | 107 | associatedtype T where #^ASSOC_1^#
|
|
0 commit comments