Skip to content

Commit 3d49842

Browse files
authored
[stdlib] SignedNumber to refine Comparable in Swift 3 mode (#9669)
Fixes: https://bugs.swift.org/browse/SR-4899
1 parent de78513 commit 3d49842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3490,7 +3490,7 @@ public typealias Integer = BinaryInteger
34903490
public typealias IntegerArithmetic = BinaryInteger
34913491

34923492
@available(swift, obsoleted: 4)
3493-
public typealias SignedNumber = SignedNumeric
3493+
public typealias SignedNumber = SignedNumeric & Comparable
34943494

34953495
@available(swift, obsoleted: 4)
34963496
public typealias AbsoluteValuable = SignedNumeric & Comparable

0 commit comments

Comments
 (0)