File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ extension InlineArray where Element: ~Copyable {
105
105
@available ( SwiftStdlib 6 . 2 , * )
106
106
@_alwaysEmitIntoClient
107
107
public init < E: Error > ( _ body: ( Int ) throws ( E ) -> Element ) throws ( E) {
108
- #if hasFeature( BuiltinEmplaceTypedThrows)
108
+ #if $ BuiltinEmplaceTypedThrows
109
109
self = try Builtin . emplace { ( rawPtr) throws ( E) -> ( ) in
110
110
let buffer = InlineArray < count , Element > . _initializationBuffer (
111
111
start: rawPtr
@@ -153,7 +153,7 @@ extension InlineArray where Element: ~Copyable {
153
153
first: consuming Element ,
154
154
next: ( borrowing Element ) throws ( E ) -> Element
155
155
) throws ( E) {
156
- #if hasFeature( BuiltinEmplaceTypedThrows)
156
+ #if $ BuiltinEmplaceTypedThrows
157
157
// FIXME: We should be able to mark 'Builtin.emplace' as '@once' or something
158
158
// to give the compiler enough information to know we will only run
159
159
// it once so it can consume the capture. For now, we use an optional
You can’t perform that action at this time.
0 commit comments