Skip to content

Commit e9c0b32

Browse files
committed
Remove class support
1 parent 3522a33 commit e9c0b32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3897,8 +3897,7 @@ internal func _instantiateKeyPathBuffer(
38973897
public func _createOffsetBasedKeyPath(
38983898
root: Any.Type,
38993899
value: Any.Type,
3900-
offset: Int,
3901-
isClass: Bool = false
3900+
offset: Int
39023901
) -> AnyKeyPath {
39033902
func openRoot<Root>(_: Root.Type) -> AnyKeyPath.Type {
39043903
func openValue<Value>(_: Value.Type) -> AnyKeyPath.Type {
@@ -3924,7 +3923,7 @@ public func _createOffsetBasedKeyPath(
39243923
builder.pushHeader(header)
39253924

39263925
let componentHeader = RawKeyPathComponent.Header(
3927-
stored: isClass ? .class : .struct,
3926+
stored: .struct,
39283927
mutable: false,
39293928
inlineOffset: UInt32(offset)
39303929
)

0 commit comments

Comments
 (0)