Skip to content

Conversation

@hborla
Copy link
Member

@hborla hborla commented Dec 5, 2023

The compiler happened to accept invalid property wrapper code because inferred nonisolated attributes were applied after checking declaration attributes. Fix this by forcing actor isolation computation in the primary declaration checker before checking attributes.

@hborla
Copy link
Member Author

hborla commented Dec 5, 2023

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented Dec 5, 2023

@swift-ci please test source compatibility

@hborla
Copy link
Member Author

hborla commented Dec 5, 2023

@swift-ci please smoke test

@hborla
Copy link
Member Author

hborla commented Dec 5, 2023

@swift-ci please test source compatibility

@hborla hborla merged commit a4fe719 into swiftlang:main Dec 5, 2023
@hborla hborla deleted the implicit-nonisolated-property-wrapper branch December 5, 2023 19:39
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