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 compilation issue #26

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Xcode 15.2 compilation issue #26

merged 2 commits into from
Jan 30, 2024

Conversation

admkopec
Copy link
Contributor

As per issue #25, while compiling with Xcode 15.2 "Expansion of macro '_PersistedProperty()' produced an unexpected setter" error is generated. This pull request aims to fix the error by removing the names: named(init) part from @attached(accessor, names: named(init)) macro declaration for _PersistedProperty.

@helje5 please make sure that I am right and this names is not strictly necessary in the declaration, as my knowledge of Swift Macros is limited.

This fixes an issue with Xcode 15.2 compilation error.
This changes the `xcode-version` parameter of the workflow to use Xcode 15.2 in order to check for proper compilation on the latest release
@helje5
Copy link
Contributor

helje5 commented Jan 30, 2024

Makes sense and works again. Thanks a lot

@helje5 helje5 merged commit b3daf0d into Data-swift:develop Jan 30, 2024
1 check passed
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.

2 participants