-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Circular reference resolving attached macro 'xxx' #70096
Copy link
Copy link
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.circular referenceBug → internal error: Circular referenceBug → internal error: Circular referencecompilerThe Swift compiler itselfThe Swift compiler itselfinternal errorBug: Internal errorBug: Internal errornested typesFeature: nested typesFeature: nested typesswift 5.9swift macroFeature → declarations: Swift `macro` declarationsFeature → declarations: Swift `macro` declarationstype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysisunexpected errorBug: Unexpected errorBug: Unexpected error
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.circular referenceBug → internal error: Circular referenceBug → internal error: Circular referencecompilerThe Swift compiler itselfThe Swift compiler itselfinternal errorBug: Internal errorBug: Internal errornested typesFeature: nested typesFeature: nested typesswift 5.9swift macroFeature → declarations: Swift `macro` declarationsFeature → declarations: Swift `macro` declarationstype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysisunexpected errorBug: Unexpected errorBug: Unexpected error
Description
When defining a new type within a structure, the macro throws an error 'Circular reference resolving attached macro 'xxx'
@entity is a member macro of a generating constructor
Steps to Reproduce
No response