mirror of
https://github.com/apple/swift-numerics
synced 2026-11-29 05:24:24 +00:00
Ensure compatibility with Swift versions below 6
This commit is contained in:
1 parent
d46e20b4c5
commit
894008997c
2 files changed
+6
No files matched your search
@@ -16,7 +16,9 @@ extension Complex: CustomStringConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
#if compiler(>=6.0)
|
||||
@_unavailableInEmbedded
|
||||
#endif
|
||||
extension Complex: CustomDebugStringConvertible {
|
||||
public var debugDescription: String {
|
||||
"Complex<\(RealType.self)>(\(String(reflecting: x)), \(String(reflecting: y)))"
|
||||
|
||||
Reference in new issue
Block a user