Skip to content

Add a diagnostic test for @Observable macro #67250

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

Conversation

natecook1000
Copy link
Member

This adds a diagnostic test that validates errors for putting the @Observable macro on a struct, enum, or actor.

This adds a diagnostic test that validates errors for putting
the `@Observable` macro on a struct, enum, or actor.
@natecook1000
Copy link
Member Author

@swift-ci Please test
@swift-ci Please smoke test

@natecook1000 natecook1000 merged commit e36e316 into swiftlang:main Jul 13, 2023
@natecook1000 natecook1000 deleted the observable_diagnostic_test branch July 13, 2023 16:27
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