Skip to content

Commit 5dbe1a9

Browse files
committed
[stdlib] Use @_alwaysEmitIntoClient to override default implementations of protocol requirements
1 parent 48063b9 commit 5dbe1a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/IntegerTypes.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ public struct ${Self}
12571257
self = Self._convert(from: source).value!
12581258
}
12591259

1260+
@_alwaysEmitIntoClient
12601261
@inlinable
12611262
@inline(__always)
12621263
public init<T: BinaryFloatingPoint>(_ source: T) {
@@ -1276,6 +1277,7 @@ public struct ${Self}
12761277
self.init(_unchecked: source)
12771278
}
12781279

1280+
@_alwaysEmitIntoClient
12791281
@inlinable
12801282
@inline(__always)
12811283
public init?<T: BinaryFloatingPoint>(exactly source: T) {

0 commit comments

Comments
 (0)