mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #67106 from hborla/validate-extension-macros
[Macros] Add missing macro validation.
This commit is contained in:
@@ -7271,6 +7271,9 @@ ERROR(local_extension_macro,none,
|
||||
ERROR(extension_macro_invalid_conformance,none,
|
||||
"invalid protocol conformance %0 in extension macro",
|
||||
(Type))
|
||||
ERROR(macro_attached_to_invalid_decl,none,
|
||||
"'%0' macro cannot be attached to %1",
|
||||
(StringRef, DescriptiveDeclKind))
|
||||
|
||||
ERROR(macro_resolve_circular_reference, none,
|
||||
"circular reference resolving %select{freestanding|attached}0 macro %1",
|
||||
|
||||
Reference in New Issue
Block a user