Skip to content

Commit 5385db2

Browse files
committed
stdlib: Even more old spellings of @inlinable / @usableFromInline have snuck in
1 parent e3a4b68 commit 5385db2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ public class AnyKeyPath: Hashable, _AppendKeyPath {
157157
return try f(KeyPathBuffer(base: base))
158158
}
159159

160-
@_inlineable // FIXME(sil-serialize-all)
161-
@_versioned // FIXME(sil-serialize-all)
160+
@inlinable // FIXME(sil-serialize-all)
162161
internal var _storedInlineOffset: Int? {
163162
return withBuffer {
164163
var buffer = $0

stdlib/public/core/MemoryLayout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ extension MemoryLayout {
212212
/// result of `offset(of:)` changes to `nil`. That kind of conversion is
213213
/// non-breaking in other contexts, but would trigger a runtime error if the
214214
/// result of `offset(of:)` is force-unwrapped.
215-
@_inlineable // FIXME(sil-serialize-all)
215+
@inlinable // FIXME(sil-serialize-all)
216216
@_transparent
217217
public static func offset(of key: PartialKeyPath<T>) -> Int? {
218218
return key._storedInlineOffset

0 commit comments

Comments
 (0)