Skip to content

[AST] RuntimeMetadata: Allow using enums as custom runtime metadata types #63198

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

Merged
merged 3 commits into from
Jan 26, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jan 24, 2023

enum allows declaring initializers which makes it suitable to act as runtime metadata type.
I have overlooked this while working on the implementation.

@xedin
Copy link
Contributor Author

xedin commented Jan 24, 2023

@swift-ci please test

@xedin xedin force-pushed the enable-runtime-attrs-on-enums branch from bce8a0d to 5881052 Compare January 24, 2023 22:16
@xedin
Copy link
Contributor Author

xedin commented Jan 24, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jan 25, 2023

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jan 25, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jan 25, 2023

@swift-ci please test macOS platform

@xedin xedin merged commit c86c741 into swiftlang:main Jan 26, 2023
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