Skip to content

Commit 368847b

Browse files
author
Max Moiseev
committed
[stdlib] Providing fixits for IntMax and UIntMax
1 parent 40ea736 commit 368847b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/Integers.swift.gyb

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ UIntMax = 'UInt%s' % int_max_bits
6868

6969
// FIXME(integers): remove these two aliases
7070
/// The largest native signed integer type.
71-
@available(swift, obsoleted: 4.0)
71+
@available(swift, obsoleted: 4.0, renamed: "${IntMax}")
7272
public typealias IntMax = ${IntMax}
7373
/// The largest native unsigned integer type.
74-
@available(swift, obsoleted: 4.0)
74+
@available(swift, obsoleted: 4.0, renamed: "${UIntMax}")
7575
public typealias UIntMax = ${UIntMax}
7676

7777
infix operator &<< : BitwiseShiftPrecedence

0 commit comments

Comments
 (0)