Commit d72cb0a
authored
[6.2] Add (hidden) synchronous overloads of
- **Explanation**: Suppress some new/spurious warnings from the compiler
in Swift 6.2 when using `#expect(throws:)` with a synchronous closure
that calls a `noasync` function.
- **Scope**: Testing errors thrown from synchronous code.
- **Issues**: #1177, rdar://149299786
- **Original PRs**: #1178
- **Risk**: No obvious risk.
- **Testing**: Existing test functions show the issue and that it's been
resolved.
- **Reviewers**: @stmontgomery @briancroom#expect(throws:). (#1179)1 parent f2fb70d commit d72cb0a
1 file changed
+373
-0
lines changed
0 commit comments