Skip to content

@Observable Macro supports properties with the package access modifier #71061

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

Conversation

treastrain
Copy link
Contributor

I want to change the @Observable Macro so that properties with the package access modifier do not cause build errors.

Resolves #71060.

(Thanks to @p-x9 via https://x.com/p_x9/status/1749374558732493102)

@treastrain
Copy link
Contributor Author

I would like to add a test for this, but could not find where an existing it. I need your help... Thank you!

@phausler
Copy link
Contributor

phausler commented Apr 5, 2024

as soon as the test is picked over I will close my commit in favor of this one.

@treastrain
Copy link
Contributor Author

@phausler

I cherry-picked your phausler@4e274ce at ea46fc2. Thank you so much.

@phausler
Copy link
Contributor

phausler commented Apr 8, 2024

@swift-ci please test

@phausler
Copy link
Contributor

phausler commented Apr 8, 2024

@swift-ci please test macOS

@phausler
Copy link
Contributor

phausler commented Apr 8, 2024

@swift-ci please smoke test macOS

@phausler phausler merged commit a1c49d0 into swiftlang:main Apr 9, 2024
@treastrain treastrain deleted the observable-macro-supports-package-access-modifier branch April 10, 2024 09:05
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.

@Observable Macro does not support properties with the package access modifier
2 participants