We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When unit testing macro expansions using SwiftSyntaxMacroExpansion, there's no way for it to expand fully qualified attached macro
swift-syntax/Sources/SwiftSyntaxMacroExpansion/MacroSystem.swift
Line 997 in 2a731fb
Try to write a unit test that expands a fully qualified attached macro:
@MyModule.MyMacro var hello = "world"
Neither of the following in the dictionary works with the SyntaxProtocol.expand function
SyntaxProtocol.expand
[ "MyMacro": MyMacro.self, "MyModule.MyMacro": MyMacro.self, ]
The text was updated successfully, but these errors were encountered:
Tracked in Apple’s issue tracker as rdar://137364509
Sorry, something went wrong.
No branches or pull requests
Description
When unit testing macro expansions using SwiftSyntaxMacroExpansion, there's no way for it to expand fully qualified attached macro
swift-syntax/Sources/SwiftSyntaxMacroExpansion/MacroSystem.swift
Line 997 in 2a731fb
Steps to Reproduce
Try to write a unit test that expands a fully qualified attached macro:
Neither of the following in the dictionary works with the
SyntaxProtocol.expand
functionThe text was updated successfully, but these errors were encountered: