Commit 0e6ae14
authored
[6.1] Suppress warning about
- **Explanation**: Suppress some warnings that occur due to
swiftlang/swift#79202 when the compiler
selects the wrong overload of `try #require()` for expansion.
- **Scope**: Tests using `try #require()` with reference types.
- **Issues**: works around
swiftlang/swift#79202
- **Original PRs**: #947
- **Risk**: Low, just suppresses some warnings we generate (lack of
these warnings is not harmful)
- **Testing**: Added a unit test
- **Reviewers**: @briancroom#require(nonOptional) in some cases. (#949)1 parent b656bea commit 0e6ae14
File tree
2 files changed
+33
-0
lines changed- Sources/TestingMacros
- Tests/TestingMacrosTests
2 files changed
+33
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
327 | 343 | | |
| 344 | + | |
328 | 345 | | |
329 | 346 | | |
330 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
355 | 371 | | |
356 | 372 | | |
357 | 373 | | |
| |||
0 commit comments