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

Fix backward compatibility issue with swift-concurrency-extras #87

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

tgrapperon
Copy link
Owner

No description provided.

@tgrapperon tgrapperon merged commit 02e7b18 into main Nov 9, 2023
8 checks passed
storage.withValue {
valueDidChange = !_isEqual($0[key], value)
valueDidChange.setValue(!_isEqual($0[key], value))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI you could probably mitigate the need for LockIsolated by returning !_isEqual(…) from the closure instead of capturing a mutable var

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