Skip to content

Commit 4edaaa4

Browse files
committed
Remove @_transparent from InlineArray.count
It is orthogonal to @_semantics. @_transparent annotated functions need to be inlined early and @_semantics annotated functions need to be inlined late. Remove @_transparent since it has no effect here.
1 parent 6908e9b commit 4edaaa4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/public/core/InlineArray.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ extension InlineArray where Element: ~Copyable {
235235
/// - Complexity: O(1)
236236
@available(SwiftStdlib 6.2, *)
237237
@_alwaysEmitIntoClient
238-
@_transparent
239238
@_semantics("fixed_storage.get_count")
240239
@inline(__always)
241240
public var count: Int {

0 commit comments

Comments
 (0)