Skip to content

Commit 88a5f65

Browse files
moiseevDave Abrahams
authored andcommitted
[stdlib] SignedNumber to refine Comparable in Swift 3 mode (#9668)
Fixes: https://bugs.swift.org/browse/SR-4899
1 parent ccd7ca2 commit 88a5f65

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
@@ -3495,7 +3495,7 @@ public typealias Integer = BinaryInteger
34953495
public typealias IntegerArithmetic = BinaryInteger
34963496

34973497
@available(swift, obsoleted: 4)
3498-
public typealias SignedNumber = SignedNumeric
3498+
public typealias SignedNumber = SignedNumeric & Comparable
34993499

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

0 commit comments

Comments
 (0)