Skip to content

Commit 31abddf

Browse files
stephentyroneairspeedswift
authored andcommitted
[4.2] Obsolete unsafeArithmetic operations on Integers. (#19425)
* Obsolete unsafeArithmetic oeprations on Integers. * 4.2.1 -> 4.2
1 parent 309c666 commit 31abddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2938,6 +2938,7 @@ ${assignmentOperatorComment(x.operator, True)}
29382938
#endif
29392939
// end of FIXME(integers)
29402940

2941+
@available(swift, deprecated: 4.2, obsoleted: 5)
29412942
${unsafeOperationComment(x.operator)}
29422943
@inlinable // FIXME(sil-serialize-all)
29432944
@_transparent

0 commit comments

Comments
 (0)