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 {
105105 @available ( SwiftStdlib 6 . 2 , * )
106106 @_alwaysEmitIntoClient
107107 public init < E: Error > ( _ body: ( Int ) throws ( E ) -> Element ) throws ( E) {
108- #if hasFeature( BuiltinEmplaceTypedThrows)
108+ #if $ BuiltinEmplaceTypedThrows
109109 self = try Builtin . emplace { ( rawPtr) throws ( E) -> ( ) in
110110 let buffer = InlineArray < count , Element > . _initializationBuffer (
111111 start: rawPtr
@@ -153,7 +153,7 @@ extension InlineArray where Element: ~Copyable {
153153 first: consuming Element ,
154154 next: ( borrowing Element ) throws ( E ) -> Element
155155 ) throws ( E) {
156- #if hasFeature( BuiltinEmplaceTypedThrows)
156+ #if $ BuiltinEmplaceTypedThrows
157157 // FIXME: We should be able to mark 'Builtin.emplace' as '@once' or something
158158 // to give the compiler enough information to know we will only run
159159 // 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