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
[SR-4405] Add @escaping to RecoverableError.attemptRecovery #46984
Comments
This is actually defined in public/SDK/Foundation/NSError.swift. @moiseev or @airspeedswift, what is the policy for this? Is it technically an SDK change? |
Comment by Mohammed M. Ennabah (JIRA) And it's also defined in swift-corelibs-foundation/Foundation/NSError.swift too. Should both files be fixed? |
I'm not sure. It should probably belong in one but not the other. @moiseev any ideas? |
Also, CC Lance (JIRA User) |
Foundation overlay should be in sync with corelibs-foundation API-wise. But whether this should happen or not, let's ask @parkera. |
Comment by Mohammed M. Ennabah (JIRA) Any updates, @parkera ? |
@swift-ci create |
@belkadan Looking at this now. What sort of breakage, if any, can be expected here as a result of changing the protocol? I doubt anyone implements this, but is non-escaping to escaping a breaking change? |
It will break anyone who customized their implementation of |
@milseman, Could you verify if the problem is fixed and if so move the JIRA to "Closed"? |
Additional Detail from JIRA
md5: 71cb6c0b757a45fda3460f4849cdec57
is duplicated by:
Issue Description:
RecoverableError's attemptRecovery's resultHandler should be an escaping closure. Add @escaping and write a test case to exercise asynchronous handling of the error.
The text was updated successfully, but these errors were encountered: