File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2158,6 +2158,7 @@ where Magnitude: FixedWidthInteger & UnsignedInteger,
2158
2158
2159
2159
extension FixedWidthInteger {
2160
2160
@inlinable
2161
+ @_transparent
2161
2162
public var bitWidth : Int { return Self . bitWidth }
2162
2163
2163
2164
@inlinable
@@ -2770,7 +2771,7 @@ extension FixedWidthInteger {
2770
2771
}
2771
2772
2772
2773
@inlinable // FIXME(inline-always)
2773
- @inline ( __always )
2774
+ @_transparent
2774
2775
public init < T: BinaryInteger > ( truncatingIfNeeded source: T ) {
2775
2776
if Self . bitWidth <= Int . bitWidth {
2776
2777
self = Self ( _truncatingBits: source. _lowWord)
@@ -3015,7 +3016,7 @@ extension UnsignedInteger {
3015
3016
/// This property is always `false` for unsigned integer types.
3016
3017
@inlinable // FIXME(inline-always)
3017
3018
public static var isSigned : Bool {
3018
- @inline ( __always )
3019
+ @_transparent
3019
3020
get { return false }
3020
3021
}
3021
3022
}
@@ -3230,7 +3231,7 @@ extension SignedInteger {
3230
3231
/// This property is always `true` for signed integer types.
3231
3232
@inlinable // FIXME(inline-always)
3232
3233
public static var isSigned : Bool {
3233
- @inline ( __always )
3234
+ @_transparent
3234
3235
get { return true }
3235
3236
}
3236
3237
}
You can’t perform that action at this time.
0 commit comments