Skip to content
New issue

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

Expose Cairo edition field through TokenStreamMetadata #1670

Open
maciektr opened this issue Oct 22, 2024 · 0 comments
Open

Expose Cairo edition field through TokenStreamMetadata #1670

maciektr opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
syn/quote New proc macro API

Comments

@maciektr
Copy link
Contributor

maciektr commented Oct 22, 2024

Problem

Edition can be obtained from MacroPluginMetdata when creating TokenStream before expand.

The edition should be shared as String or similar (and not enum), so that cairo-lang-macro does not need any updates in case a new edition is released, nor depend on compiler structs.

@maciektr maciektr added this to the Procedural macros milestone Oct 22, 2024
@maciektr maciektr added the syn/quote New proc macro API label Oct 23, 2024
@maciektr maciektr self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syn/quote New proc macro API
Projects
Status: In Progress
Development

No branches or pull requests

1 participant