Skip to content

Commit ace555d

Browse files
authored
Migrate URLs in documentation/comments/etc. from /apple/ to /swiftlang/. (swiftlang#596)
This PR moves all references to URLs under https://github.com/apple/ to https://github.com/swiftlang/. ### 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 1cedf5d commit ace555d

36 files changed

+72
-72
lines changed

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ discussion prior to being accepted.
1818
1919
To learn how to write tests using the testing library, rather than how to
2020
contribute to the testing library itself, see
21-
[Getting Started](https://github.com/apple/swift-testing/tree/main/Sources/Testing/Testing.docc/TemporaryGettingStarted.md).
21+
[Getting Started](https://github.com/swiftlang/swift-testing/tree/main/Sources/Testing/Testing.docc/TemporaryGettingStarted.md).
2222

2323
## Reporting issues
2424

2525
Issues are tracked using the testing library's
26-
[GitHub Issue Tracker](https://github.com/apple/swift-testing/issues).
26+
[GitHub Issue Tracker](https://github.com/swiftlang/swift-testing/issues).
2727

2828
Fill in the fields of the relevant template form offered on that page when
2929
creating new issues. For bug report issues, please include a minimal example
@@ -34,7 +34,7 @@ hosting service.
3434
## Setting up the development environment
3535

3636
First, clone the Swift Testing repository from
37-
[https://github.com/apple/swift-testing](https://github.com/apple/swift-testing).
37+
[https://github.com/swiftlang/swift-testing](https://github.com/swiftlang/swift-testing).
3838

3939
If you're preparing to make a contribution, you should fork the repository first
4040
and clone the fork which will make opening PRs easier.
@@ -142,7 +142,7 @@ test --help` to view the usage documentation.
142142

143143
## Creating Pull Requests (PRs)
144144

145-
1. Fork [https://github.com/apple/swift-testing](https://github.com/apple/swift-testing).
145+
1. Fork [https://github.com/swiftlang/swift-testing](https://github.com/swiftlang/swift-testing).
146146
1. Clone a working copy of your fork.
147147
1. Create a new branch.
148148
1. Make your code changes.

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
FROM swiftlang/swift:nightly-main-jammy
1010

1111
# Set up the current build user in the same way done in the Swift.org CI system:
12-
# https://github.com/apple/swift-docker/blob/main/swift-ci/master/ubuntu/22.04/Dockerfile
12+
# https://github.com/swiftlang/swift-docker/blob/main/swift-ci/master/ubuntu/22.04/Dockerfile
1313

1414
RUN groupadd -g 998 build-user && \
1515
useradd -m -r -u 998 -g build-user build-user

Documentation/CMake.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Add Swift Testing to your project using the standard `FetchContent` or
88
```cmake
99
include(FetchContent)
1010
FetchContent_Declare(SwiftTesting
11-
GIT_REPOSITORY https://github.com/apple/swift-testing.git
11+
GIT_REPOSITORY https://github.com/swiftlang/swift-testing.git
1212
GIT_TAG main)
1313
FetchContent_MakeAvailable(SwiftTesting)
1414
```

Documentation/Proposals/0000-proposal-template.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Proposal: [SWT-NNNN](NNNN-filename.md)
44
* Authors: [Author 1](https://github.com/author1), [Author 2](https://github.com/author2)
55
* Status: **Awaiting implementation** or **Awaiting review**
6-
* Bug: _if applicable_ [apple/swift-testing#NNNNN](https://github.com/apple/swift-testing/issues/NNNNN)
7-
* Implementation: [apple/swift-testing#NNNNN](https://github.com/apple/swift-testing/pull/NNNNN)
6+
* Bug: _if applicable_ [swiftlang/swift-testing#NNNNN](https://github.com/swiftlang/swift-testing/issues/NNNNN)
7+
* Implementation: [swiftlang/swift-testing#NNNNN](https://github.com/swiftlang/swift-testing/pull/NNNNN)
88
* Previous Proposal: _if applicable_ [SWT-XXXX](XXXX-filename.md)
9-
* Previous Revision: _if applicable_ [1](https://github.com/apple/swift-testing/blob/...commit-ID.../Documentation/Proposals/NNNN-filename.md)
9+
* Previous Revision: _if applicable_ [1](https://github.com/swiftlang/swift-testing/blob/...commit-ID.../Documentation/Proposals/NNNN-filename.md)
1010
* Review: ([pitch](https://forums.swift.org/...))
1111

1212
When filling out this template, you should delete or replace all of the text
@@ -146,7 +146,7 @@ the current proposal. It's important to make focused, self-contained proposals
146146
that can be incrementally implemented and reviewed, but it's also good when
147147
proposals feel "complete" rather than leaving significant gaps in their design.
148148
An an example from the Swift project, when
149-
[SE-0193](https://github.com/apple/swift-evolution/blob/main/proposals/0193-cross-module-inlining-and-specialization.md)
149+
[SE-0193](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0193-cross-module-inlining-and-specialization.md)
150150
introduced the `@inlinable` attribute, it also included the `@usableFromInline`
151151
attribute so that declarations used in inlinable functions didn't have to be
152152
`public`. This was a relatively small addition to the proposal which avoided

Documentation/Proposals/0001-refactor-bug-inits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Proposal: [SWT-0001](0001-refactor-bug-inits.md)
44
* Authors: [Jonathan Grynspan](https://github.com/grynspan)
55
* Status: **Accepted**
6-
* Implementation: [apple/swift-testing#401](https://github.com/apple/swift-testing/pull/401)
6+
* Implementation: [swiftlang/swift-testing#401](https://github.com/swiftlang/swift-testing/pull/401)
77
* Review: ([pitch](https://forums.swift.org/t/pitch-dedicated-bug-functions-for-urls-and-ids/71842)), ([acceptance](https://forums.swift.org/t/swt-0001-dedicated-bug-functions-for-urls-and-ids/71842/2))
88

99
## Introduction

Documentation/Proposals/0002-json-abi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* Proposal: [SWT-0002](0002-json-abi.md)
44
* Authors: [Jonathan Grynspan](https://github.com/grynspan)
55
* Status: **Accepted**
6-
* Implementation: [apple/swift-testing#383](https://github.com/apple/swift-testing/pull/383),
7-
[apple/swift-testing#402](https://github.com/apple/swift-testing/pull/402)
6+
* Implementation: [swiftlang/swift-testing#383](https://github.com/swiftlang/swift-testing/pull/383),
7+
[swiftlang/swift-testing#402](https://github.com/swiftlang/swift-testing/pull/402)
88
* Review: ([pitch](https://forums.swift.org/t/pitch-a-stable-json-based-abi-for-tools-integration/72627)), ([acceptance](https://forums.swift.org/t/pitch-a-stable-json-based-abi-for-tools-integration/72627/4))
99

1010
## Introduction

Documentation/Proposals/0003-make-serialized-trait-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Authors: [Dennis Weissmann](https://github.com/dennisweissmann)
55
* Status: **Accepted**
66
* Implementation:
7-
[apple/swift-testing#535](https://github.com/apple/swift-testing/pull/535)
7+
[swiftlang/swift-testing#535](https://github.com/swiftlang/swift-testing/pull/535)
88
* Review:
99
([pitch](https://forums.swift.org/t/pitch-make-serialized-trait-public-api/73147)),
1010
([acceptance](https://forums.swift.org/t/pitch-make-serialized-trait-public-api/73147/5))

Documentation/Proposals/0004-constrain-the-granularity-of-test-time-limit-durations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Authors: [Dennis Weissmann](https://github.com/dennisweissmann)
66
* Status: **Accepted**
77
* Implementation:
8-
[apple/swift-testing#534](https://github.com/apple/swift-testing/pull/534)
8+
[swiftlang/swift-testing#534](https://github.com/swiftlang/swift-testing/pull/534)
99
* Review:
1010
([pitch](https://forums.swift.org/t/pitch-constrain-the-granularity-of-test-time-limit-durations/73146)),
1111
([acceptance](https://forums.swift.org/t/pitch-constrain-the-granularity-of-test-time-limit-durations/73146/3))

Documentation/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,36 @@ See https://swift.org/CONTRIBUTORS.txt for Swift project authors
1313
## API and usage guides
1414

1515
The detailed documentation for Swift Testing can be found on the
16-
[Swift Package Index](https://swiftpackageindex.com/apple/swift-testing/main/documentation/testing).
16+
[Swift Package Index](https://swiftpackageindex.com/swiftlang/swift-testing/main/documentation/testing).
1717
There, you can delve into comprehensive guides, tutorials, and API references to
1818
make the most out of this package.
1919

20-
This documentation is generated using [DocC](https://github.com/apple/swift-docc)
20+
This documentation is generated using [DocC](https://github.com/swiftlang/swift-docc)
2121
and is derived from symbol documentation in this project's source code as well
2222
as supplemental content located in the
23-
[`Sources/Testing/Testing.docc/`](https://github.com/apple/swift-testing/tree/main/Sources/Testing/Testing.docc)
23+
[`Sources/Testing/Testing.docc/`](https://github.com/swiftlang/swift-testing/tree/main/Sources/Testing/Testing.docc)
2424
directory.
2525

2626
## Vision document
2727

28-
The [Vision document](https://github.com/apple/swift-evolution/blob/main/visions/swift-testing.md)
28+
The [Vision document](https://github.com/swiftlang/swift-evolution/blob/main/visions/swift-testing.md)
2929
for Swift Testing offers a comprehensive discussion of the project's design
3030
principles and goals.
3131

3232
## Development and contribution
3333

34-
- The top-level [`README`](https://github.com/apple/swift-testing/blob/main/README.md)
34+
- The top-level [`README`](https://github.com/swiftlang/swift-testing/blob/main/README.md)
3535
gives a high-level overview of the project, shows current CI status, lists the
3636
support status of various platforms, and more.
37-
- [Contributing](https://github.com/apple/swift-testing/blob/main/CONTRIBUTING.md)
37+
- [Contributing](https://github.com/swiftlang/swift-testing/blob/main/CONTRIBUTING.md)
3838
provides guidance for developing and making project contributions.
39-
- [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md)
39+
- [Style Guide](https://github.com/swiftlang/swift-testing/blob/main/Documentation/StyleGuide.md)
4040
describes this project's guidelines for code and documentation style.
41-
- [SPI groups in Swift Testing](https://github.com/apple/swift-testing/blob/main/Documentation/SPI.md)
41+
- [SPI groups in Swift Testing](https://github.com/swiftlang/swift-testing/blob/main/Documentation/SPI.md)
4242
describes when and how the testing library uses Swift SPI.
4343

4444
## Project maintenance
4545

46-
- The [Releases](https://github.com/apple/swift-testing/blob/main/Documentation/Releases.md)
46+
- The [Releases](https://github.com/swiftlang/swift-testing/blob/main/Documentation/Releases.md)
4747
document describes the process of creating and publishing a new release of
4848
Swift Testing — a task which may be performed by project administrators.

Documentation/Releases.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ be updated so that the release can be used as a package dependency:
4949
update the line:
5050

5151
```diff
52-
- .package(url: "https://github.com/apple/swift-testing.git", branch: "main"),
53-
+ .package(url: "https://github.com/apple/swift-testing.git", from: "x.y.z"),
52+
- .package(url: "https://github.com/swiftlang/swift-testing.git", branch: "main"),
53+
+ .package(url: "https://github.com/swiftlang/swift-testing.git", from: "x.y.z"),
5454
```
5555

5656
The repository's local state is now updated. To commit it to your branch, run
@@ -94,7 +94,7 @@ git tag x.y.z
9494
git push -u origin x.y.z
9595
```
9696

97-
The release is now live and publicly visible [here](https://github.com/apple/swift-testing/tags).
97+
The release is now live and publicly visible [here](https://github.com/swiftlang/swift-testing/tags).
9898
Developers using Swift Package Manager and listing Swift Testing as a dependency
9999
will automatically update to it.
100100

Documentation/StyleGuide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ Begin topic group headings inside types with a noun or noun phrase.
140140

141141
The macro target of this package produces a number of different compile-time
142142
diagnostics. These diagnostics should be written according to the Swift style
143-
guide for compiler diagnostics [here](https://github.com/apple/swift/blob/main/docs/Diagnostics.md).
143+
guide for compiler diagnostics [here](https://github.com/swiftlang/swift/blob/main/docs/Diagnostics.md).
144144

145145
### Documentation
146146

147147
Documentation for the testing library should follow the
148-
[Swift Book style guide](https://github.com/apple/swift-book/blob/main/Style.md)
148+
[Swift Book style guide](https://github.com/swiftlang/swift-book/blob/main/Style.md)
149149
and [Apple Style Guide](https://support.apple.com/guide/applestyleguide/) as
150150
contextually appropriate.
151151

Documentation/Vision.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ automated testing to identify software defects. Better APIs and tools for
77
testing can greatly improve a platform’s quality. Below, we propose a new API
88
direction for testing in Swift.
99

10-
Click [here](https://github.com/apple/swift-evolution/blob/main/visions/swift-testing.md)
10+
Click [here](https://github.com/swiftlang/swift-evolution/blob/main/visions/swift-testing.md)
1111
to view the complete vision document for Swift Testing, which has been accepted
1212
by the Swift Language Steering Group and is now hosted in the
13-
[swift-evolution](https://github.com/apple/swift-evolution) repository.
13+
[swift-evolution](https://github.com/swiftlang/swift-evolution) repository.

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Please visit the Swift Testing web site for more information:
66

7-
* https://github.com/apple/swift-testing
7+
* https://github.com/swiftlang/swift-testing
88

99
Copyright (c) 2023 Apple Inc. and the Swift project authors
1010

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ extension Array where Element == PackageDescription.SwiftSetting {
140140
///
141141
/// These leverage a pseudo-experimental feature in the Swift compiler for
142142
/// setting availability definitions, which was added in
143-
/// [apple/swift#65218](https://github.com/apple/swift/pull/65218).
143+
/// [swift#65218](https://github.com/swiftlang/swift/pull/65218).
144144
private static var availabilityMacroSettings: Self {
145145
[
146146
.enableExperimentalFeature("AvailabilityMacro=_mangledTypeNameAPI:macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0"),

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ incrementally, at your own pace.
120120
> for details about stable release plans.
121121
122122
Detailed documentation for Swift Testing can be found on the
123-
[Swift Package Index](https://swiftpackageindex.com/apple/swift-testing/main/documentation/testing).
123+
[Swift Package Index](https://swiftpackageindex.com/swiftlang/swift-testing/main/documentation/testing).
124124
There, you can delve into comprehensive guides, tutorials, and API references to
125125
make the most out of this package. To try it yourself, see
126-
[Getting Started](https://swiftpackageindex.com/apple/swift-testing/main/documentation/testing/temporarygettingstarted).
126+
[Getting Started](https://swiftpackageindex.com/swiftlang/swift-testing/main/documentation/testing/temporarygettingstarted).
127127

128128
Other documentation resources for this project can be found in the
129-
[README](https://github.com/apple/swift-testing/blob/main/Documentation/README.md)
129+
[README](https://github.com/swiftlang/swift-testing/blob/main/Documentation/README.md)
130130
of the `Documentation/` subdirectory.

Sources/Testing/ABI/EntryPoints/EntryPoint.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ private func _writeJSONLine(_ json: UnsafeRawBufferPointer, to file: borrowing F
559559
if _slowPath(json.contains(where: isASCIINewline)) {
560560
#if DEBUG
561561
let message = Event.ConsoleOutputRecorder.warning(
562-
"JSON encoder produced one or more newline characters while encoding an event to JSON. Please file a bug report at https://github.com/apple/swift-testing/issues/new",
562+
"JSON encoder produced one or more newline characters while encoding an event to JSON. Please file a bug report at https://github.com/swiftlang/swift-testing/issues/new",
563563
options: .for(.stderr)
564564
)
565565
#if SWT_TARGET_OS_APPLE

Sources/Testing/Events/Clock.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension Test {
2727
// that of the Swift Clock API, so we don't use `SuspendingClock`
2828
// directly on them and instead derive a value from platform-specific
2929
// API. SuspendingClock corresponds to CLOCK_UPTIME_RAW on Darwin.
30-
// SEE: https://github.com/apple/swift/blob/main/stdlib/public/Concurrency/Clock.cpp
30+
// SEE: https://github.com/swiftlang/swift/blob/main/stdlib/public/Concurrency/Clock.cpp
3131
var uptime = timespec()
3232
_ = clock_gettime(CLOCK_UPTIME_RAW, &uptime)
3333
return TimeValue(uptime)

Sources/Testing/Events/TimeValue.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extension TimeValue: Codable {}
7676
extension TimeValue: CustomStringConvertible {
7777
var description: String {
7878
#if os(WASI)
79-
// BUG: https://github.com/apple/swift/issues/72398
79+
// BUG: https://github.com/swiftlang/swift/issues/72398
8080
return String(describing: Duration(self))
8181
#else
8282
let (secondsFromAttoseconds, attosecondsRemaining) = attoseconds.quotientAndRemainder(dividingBy: 1_000_000_000_000_000_000)

Sources/Testing/ExitTests/WaitFor.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private func _blockAndWait(for pid: pid_t) throws -> ExitCondition {
3232
case .init(CLD_KILLED), .init(CLD_DUMPED):
3333
return .signal(siginfo.si_status)
3434
default:
35-
throw SystemError(description: "Unexpected siginfo_t value. Please file a bug report at https://github.com/apple/swift-testing/issues/new and include this information: \(String(reflecting: siginfo))")
35+
throw SystemError(description: "Unexpected siginfo_t value. Please file a bug report at https://github.com/swiftlang/swift-testing/issues/new and include this information: \(String(reflecting: siginfo))")
3636
}
3737
} else if case let errorCode = swt_errno(), errorCode != EINTR {
3838
throw CError(rawValue: errorCode)
@@ -164,7 +164,7 @@ func wait(for pid: pid_t) async throws -> ExitCondition {
164164
// we add this continuation to the dictionary, then it will simply loop
165165
// and report the status again.
166166
let oldContinuation = childProcessContinuations.updateValue(continuation, forKey: pid)
167-
assert(oldContinuation == nil, "Unexpected continuation found for PID \(pid). Please file a bug report at https://github.com/apple/swift-testing/issues/new")
167+
assert(oldContinuation == nil, "Unexpected continuation found for PID \(pid). Please file a bug report at https://github.com/swiftlang/swift-testing/issues/new")
168168

169169
// Wake up the waiter thread if it is waiting for more child processes.
170170
_ = pthread_cond_signal(_waitThreadNoChildrenCondition)

Sources/Testing/Expectations/ExpectationChecking+Macro.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private func _callBinaryOperator<T, U, R>(
139139
// nonescaping closure, but our use cases are safe (e.g. `true && false`) and
140140
// we cannot force one function or the other to be escaping. Use
141141
// withoutActuallyEscaping() to tell the compiler that what we're doing is
142-
// okay. SEE: https://github.com/apple/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md#restrictions-on-recursive-uses-of-non-escaping-closures
142+
// okay. SEE: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0176-enforce-exclusive-access-to-memory.md#restrictions-on-recursive-uses-of-non-escaping-closures
143143
var rhsValue: U?
144144
let result: R = withoutActuallyEscaping(rhs) { rhs in
145145
op(lhs, {

Sources/Testing/Parameterization/TypeInfo.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -184,27 +184,27 @@ extension TypeInfo {
184184
extension TypeInfo {
185185
/// Whether or not the described type is a Swift `enum` type.
186186
///
187-
/// Per the [Swift mangling ABI](https://github.com/apple/swift/blob/main/docs/ABI/Mangling.rst),
187+
/// Per the [Swift mangling ABI](https://github.com/swiftlang/swift/blob/main/docs/ABI/Mangling.rst),
188188
/// enumeration types are mangled as `"O"`.
189189
///
190190
/// - Bug: We use the internal Swift standard library function
191191
/// `_mangledTypeName()` to derive this information. We should use supported
192-
/// API instead. ([swift-#69147](https://github.com/apple/swift/issues/69147))
192+
/// API instead. ([swift-#69147](https://github.com/swiftlang/swift/issues/69147))
193193
var isSwiftEnumeration: Bool {
194194
mangledName?.last == "O"
195195
}
196196

197197
/// Whether or not the described type is imported from C, C++, or Objective-C.
198198
///
199-
/// Per the [Swift mangling ABI](https://github.com/apple/swift/blob/main/docs/ABI/Mangling.rst),
199+
/// Per the [Swift mangling ABI](https://github.com/swiftlang/swift/blob/main/docs/ABI/Mangling.rst),
200200
/// types imported from C-family languages are placed in a single flat `__C`
201201
/// module. That module has a standardized mangling of `"So"`. The presence of
202202
/// those characters at the start of a type's mangled name indicates that it
203203
/// is an imported type.
204204
///
205205
/// - Bug: We use the internal Swift standard library function
206206
/// `_mangledTypeName()` to derive this information. We should use supported
207-
/// API instead. ([swift-#69146](https://github.com/apple/swift/issues/69146))
207+
/// API instead. ([swift-#69146](https://github.com/swiftlang/swift/issues/69146))
208208
var isImportedFromC: Bool {
209209
guard let mangledName, mangledName.count > 2 else {
210210
return false

Sources/Testing/SourceAttribution/Backtrace.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public struct Backtrace: Sendable {
7575
initializedCount = Int(RtlCaptureStackBackTrace(0, ULONG(addresses.count), addresses.baseAddress!, nil))
7676
#elseif os(WASI)
7777
// SEE: https://github.com/WebAssembly/WASI/issues/159
78-
// SEE: https://github.com/apple/swift/pull/31693
78+
// SEE: https://github.com/swiftlang/swift/pull/31693
7979
initializedCount = 0
8080
#else
8181
#warning("Platform-specific implementation missing: backtraces unavailable")
@@ -122,7 +122,7 @@ extension Backtrace {
122122
/// - Bug: On Windows, the weak reference to this object triggers a
123123
/// crash. To avoid said crash, we'll keep a strong reference to the
124124
/// object (abandoning memory until the process exits.)
125-
/// ([swift-#62985](https://github.com/apple/swift/issues/62985))
125+
/// ([swift-#62985](https://github.com/swiftlang/swift/issues/62985))
126126
#if os(Windows)
127127
var errorObject: (any AnyObject & Sendable)?
128128
#else

0 commit comments

Comments
 (0)