File tree 2 files changed +6
-3
lines changed 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,8 @@ macro anonymousTypes(_: () -> String) = #externalMacro(module: "MacroDefinition"
263
263
//##-- Expansion on a conformance macro.
264
264
// RUN: %sourcekitd-test -req=refactoring.expand.macro -pos=51:5 %s -- ${COMPILER_ARGS[@]} | %FileCheck -check-prefix=CONFORMANCE_EXPAND %s
265
265
// CONFORMANCE_EXPAND: source.edit.kind.active:
266
- // CONFORMANCE_EXPAND-NEXT: 52:14-52:14 (@__swiftmacro_9MacroUser2S48HashablefMc_.swift) "extension S4 : Hashable {}"
266
+ // CONFORMANCE_EXPAND-NEXT: 52:14-52:14 (@__swiftmacro_9MacroUser2S48HashablefMc_.swift) "extension S4: Hashable {
267
+ // CONFORMANCE_EXPAND-NEXT: }"
267
268
// CONFORMANCE_EXPAND-NEXT: source.edit.kind.active:
268
269
// CONFORMANCE_EXPAND-NEXT: 51:1-51:10 ""
269
270
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ source.edit.kind.active:
6
6
Element.requirement()
7
7
}"
8
8
source.edit.kind.active:
9
- 13:2-13:2 "extension Generic : P where Element: P {}"
9
+ 13:2-13:2 "extension Generic: P where Element: P {
10
+ }"
10
11
source.edit.kind.active:
11
12
5:3-5:21 ""
12
13
source.edit.kind.active:
@@ -105,4 +106,5 @@ source.edit.kind.active:
105
106
Element.requirement()
106
107
}"
107
108
source.edit.kind.active:
108
- 13:2-13:2 "extension Generic : P where Element: P {}"
109
+ 13:2-13:2 "extension Generic: P where Element: P {
110
+ }"
You can’t perform that action at this time.
0 commit comments