Skip to content

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Oct 14, 2025

Macro implementation should only see the macro syntax (i.e. #macroName(...) or @macroName(...)) are operator folded, not other syntax - the attached declration, member, etc.

rdar://162208759

@rintaro
Copy link
Member Author

rintaro commented Oct 14, 2025

swiftlang/swift-syntax#3167
@swift-ci Please smoke test

Macro implementation should receive only see the macro syntax (i.e.
`#macroName(...)` or `@macroName(...)` are operator folded, not other
syntax - the attached declration, member, etc.

rdar://162208759
@rintaro rintaro force-pushed the macros-attached-opfolding-rdar162208759 branch from 77ea4e4 to 25bdbb6 Compare October 15, 2025 17:38
@rintaro
Copy link
Member Author

rintaro commented Oct 15, 2025

swiftlang/swift-syntax#3167
@swift-ci Please smoke test

@rintaro rintaro merged commit 9956cda into swiftlang:main Oct 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant