Copy link
Copy Markdown
Member
When using withThrowingTaskGroup waitForAll(), thrown errors weren't being propagated. I added a test for this, which failed, and then fixed it.
Skip Pull Request Checklist:
- REQUIRED: I have signed the Contributor Agreement
- REQUIRED: I have tested my change locally with
swift test - OPTIONAL: I have tested my change on an iOS simulator or device
- OPTIONAL: I have tested my change on an Android emulator or device
- AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.
Once I found the bug, I used Cursor to generate the test and then the fix. Cursor's initial fix caused other tests to fail, which is why I added the clause about ignoring CancellationErrors. Once that was in place, all tests passed. I reviewed all of the generated code.