Merge pull request #299 from stephentyrone/sendable-minimum-swift

Restrict sendable conformance for Complex to 5.5 and higher.
This commit is contained in:
Stephen Canon authored and GitHub committed 2025-02-20 17:40:06 -05:00
commit d42ab140f7
1 file changed
+2
+2
View File
@@ -69,7 +69,9 @@ public struct Complex<RealType> where RealType: Real {
}
}
#if swift(>=5.5)
extension Complex: Sendable where RealType: Sendable { }
#endif
// MARK: - Basic properties
extension Complex {