Skip to content

Commit a0ff16c

Browse files
authored
Merge pull request #1929 from hborla/remove-conformance-macros
[Macros] Update macro plugin test to replace conformance macros with extension macros.
2 parents d5c8158 + a0766d4 commit a0ff16c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lit_tests/compiler_plugin_basic.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ macro PeerWithSuffix() = #externalMacro(module: "ExamplePlugin", type: "PeerValu
3131
@attached(memberAttribute)
3232
macro MemberDeprecated() = #externalMacro(module: "ExamplePlugin", type: "MemberDeprecatedMacro")
3333

34-
@attached(conformance)
34+
@attached(extension, conformances: Equatable)
3535
macro Equatable() = #externalMacro(module: "ExamplePlugin", type: "EquatableConformanceMacro")
3636

3737
@attached(accessor)
@@ -77,7 +77,7 @@ struct MyStruct {
7777
// CHECK-NEXT: @available(*, deprecated)
7878
// CHECK-NEXT: ------------------------------
7979

80-
// CHECK: @__swiftmacro_7TestApp8MyStruct9EquatablefMc_.swift
80+
// CHECK: @__swiftmacro_7TestApp8MyStruct9EquatablefMe_.swift
8181
// CHECK-NEXT: ------------------------------
8282
// CHECK-NEXT: extension MyStruct: Equatable {
8383
// CHECK-NEXT: }

0 commit comments

Comments
 (0)