@@ -17,7 +17,6 @@ struct S1 {
17
17
subscript( x: MyStruct ) -> MyStruct# ^RETURN_1 ^# { }
18
18
}
19
19
// MYSTRUCT_0: Keyword/None: .Type[#S1.MyStruct.Type#];
20
- // MYSTRUCT_0: Keyword/CurrNominal: .self[#S1.MyStruct#];
21
20
22
21
23
22
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=PARAM_2 | %FileCheck %s -check-prefix=MYSTRUCT_1
@@ -28,7 +27,7 @@ struct S2 {
28
27
subscript( x: MyStruct ) -> MyStruct . #^RETURN_2 ^# { }
29
28
}
30
29
// MYSTRUCT_1: Keyword/None: Type[#S2.MyStruct.Type#];
31
- // MYSTRUCT_1: Keyword/CurrNominal: self[#S2.MyStruct#];
30
+ // MYSTRUCT_1-NOT : Keyword/CurrNominal: self[#S2.MyStruct#];
32
31
33
32
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_PARAM_0 | %FileCheck %s -check-prefix=GEN_TOP_LEVEL_0
34
33
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_RETURN_0 | %FileCheck %s -check-prefix=GEN_TOP_LEVEL_0
@@ -48,7 +47,6 @@ struct G1<T> {
48
47
subscript( x: T ) -> T# ^GEN_RETURN_1 ^# { return 0 }
49
48
}
50
49
// GEN_PARAM_1: Keyword/None: .Type[#T.Type#];
51
- // GEN_PARAM_1: Keyword/CurrNominal: .self[#T#];
52
50
53
51
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_PARAM_2 | %FileCheck %s -check-prefix=GEN_PARAM_2
54
52
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_RETURN_2 | %FileCheck %s -check-prefix=GEN_PARAM_2
@@ -57,7 +55,6 @@ struct G2<T> {
57
55
subscript( x: T ) -> T . #^GEN_RETURN_2 ^# { return 0 }
58
56
}
59
57
// GEN_PARAM_2: Keyword/None: Type[#T.Type#];
60
- // GEN_PARAM_2: Keyword/CurrNominal: self[#T#];
61
58
62
59
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_PARAM_3 | %FileCheck %s -check-prefix=GEN_TOP_LEVEL_1
63
60
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_RETURN_3 | %FileCheck %s -check-prefix=GEN_TOP_LEVEL_1
@@ -77,7 +74,6 @@ struct G4 {
77
74
subscript< T> ( x: T ) -> T# ^GEN_RETURN_4 ^# { return 0 }
78
75
}
79
76
// GEN_PARAM_4: Keyword/None: .Type[#T.Type#];
80
- // GEN_PARAM_4: Keyword/CurrNominal: .self[#T#];
81
77
82
78
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_PARAM_5 | %FileCheck %s -check-prefix=GEN_PARAM_5
83
79
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=GEN_RETURN_5 | %FileCheck %s -check-prefix=GEN_PARAM_5
@@ -86,4 +82,4 @@ struct G5 {
86
82
subscript< T> ( x: T ) -> T . #^GEN_RETURN_5 ^# { return 0 }
87
83
}
88
84
// GEN_PARAM_5: Keyword/None: Type[#T.Type#];
89
- // GEN_PARAM_5: Keyword/CurrNominal: self[#T#];
85
+ // GEN_PARAM_5-NOT : Keyword/CurrNominal: self[#T#];
0 commit comments