-
Notifications
You must be signed in to change notification settings - Fork 91
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 Swift 6 concurrency error (on Linux) #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again! Sorry we lost track of this!
I believe this fix might be superfluous thanks to the new Swift Foundation:
( |
Using the computed value should definitely be safer though, as I'm not sure if Johannes advices changes with the new Foundation. |
Yeah I think it's probably harmless to have a computed var here given this is a debug tool. |
This fixes a Swift 6 compile error (on Linux):
See also: SwiftPackageIndex/SwiftPackageIndex-Server#3115 (comment)