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

Xcode 15.2: "Expansion of macro '_PersistedProperty()' produced an unexpected setter" #25

Closed
helje5 opened this issue Jan 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@helje5
Copy link
Contributor

helje5 commented Jan 18, 2024

Meh

@helje5 helje5 self-assigned this Jan 18, 2024
@helje5 helje5 added the bug Something isn't working label Jan 18, 2024
@helje5
Copy link
Contributor Author

helje5 commented Jan 18, 2024

ManagedToDos doesn't compile anymore due to this.

@admkopec
Copy link
Contributor

I was able to narrow down the issue to _PersistedProperty macro definition. While compiling with Xcode 15.2 the @attached(accessor, names: named(init)) causes issues. Dropping the names: named(init) part allow the whole module to compile. As the tests are also passing after this change, I opened a PR #26.

@helje5
Copy link
Contributor Author

helje5 commented Jan 30, 2024

@helje5 helje5 closed this as completed Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants