-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove wrappers in v7 #1222
Comments
Probs doesn’t need to hold up v7 though, or you think otherwise? |
Like, I believe I can tag 7.0.0 as it stands. |
As far as I know, the current code base should work as-is. If you're hoping to get v7 out before WWDC, this particular update can wait. It won't change the API, though it might change Xcode's code completion or visual display. I would imagine that an Xcode beta that includes Swift 5.5 will be released for WWDC on June 7. It should be pretty easy to assess at that point whether SE-0299 is going to be of help for v7. If so, I don't think the implementation will take that long. Just as a general question, are you willing to require a beta version of Xcode in order to support v7? |
This final push is more I have time, WWDC is a coincidence.
Only for betas, I believe is the correct choice there. |
The current v7 implementation of the Dispatcher protocol requires function wrappers, which create significant noise and maintenance burden.
SE-0299, which provides a way for protocol types to simulate the presence of static members, is likely to make the wrappers unnecessary.
The implementation of SE-0299 is complete and due to be released in Swift 5.5. Use of this feature would make Swift 5.5 a prerequisite for v7.
The text was updated successfully, but these errors were encountered: