Commit 878df30
authored
These symbols should go through a transition period where they are
documented as to-be-deprecated rather than being deprecated outright. My
mistake.
With this change applied, Xcode treats these macros as deprecated
(deemphasizing them in autocomplete, for instance) and DocC marks them
as deprecated in an unspecified Swift version, but no warning is emitted
if they are used. This is consistent with API marked
`API_TO_BE_DEPRECATED` or `deprecated: 100000.0` in Apple's SDKs.
> [!NOTE]
> There is a bug in the DocC compiler that emits a diagnostic of the
form:
>
> > ⚠️ 'require(_:sourceLocation:performing:throws:)' isn't
unconditionally deprecated
>
> This issue is being tracked already with rdar://141785948.
Resolves #873.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
1 parent 5b4d6d6 commit 878df30
File tree
6 files changed
+12
-20
lines changed- Documentation/Proposals
- Sources/Testing
- Expectations
- Testing.docc
- AvailabilityStubs
- Tests/TestingTests
6 files changed
+12
-20
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
495 | 494 | | |
496 | 495 | | |
497 | 496 | | |
| |||
540 | 539 | | |
541 | 540 | | |
542 | 541 | | |
543 | | - | |
544 | 542 | | |
545 | 543 | | |
546 | 544 | | |
| |||
665 | 663 | | |
666 | 664 | | |
667 | 665 | | |
668 | | - | |
669 | 666 | | |
670 | 667 | | |
671 | 668 | | |
| |||
709 | 706 | | |
710 | 707 | | |
711 | 708 | | |
712 | | - | |
713 | 709 | | |
714 | 710 | | |
715 | 711 | | |
| |||
826 | 822 | | |
827 | 823 | | |
828 | 824 | | |
829 | | - | |
830 | 825 | | |
831 | 826 | | |
832 | 827 | | |
| |||
854 | 849 | | |
855 | 850 | | |
856 | 851 | | |
857 | | - | |
858 | 852 | | |
859 | 853 | | |
860 | 854 | | |
| |||
882 | 876 | | |
883 | 877 | | |
884 | 878 | | |
885 | | - | |
886 | 879 | | |
887 | 880 | | |
888 | 881 | | |
| |||
911 | 904 | | |
912 | 905 | | |
913 | 906 | | |
914 | | - | |
915 | 907 | | |
916 | 908 | | |
917 | 909 | | |
| |||
0 commit comments