Skip to content

Commit bd11fce

Browse files
authored
Merge pull request #66949 from Azoy/minimal-must-stand
[stdlib] Make _createOffsetBasedKeyPath and _rerootKeyPath only available with…
2 parents bd8e6bc + 141fa80 commit bd11fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3893,6 +3893,8 @@ internal func _instantiateKeyPathBuffer(
38933893
return offset
38943894
}
38953895

3896+
#if SWIFT_ENABLE_REFLECTION
3897+
38963898
@available(SwiftStdlib 5.9, *)
38973899
public func _createOffsetBasedKeyPath(
38983900
root: Any.Type,
@@ -4003,8 +4005,6 @@ public func _rerootKeyPath<NewRoot>(
40034005
} as! PartialKeyPath<NewRoot>
40044006
}
40054007

4006-
#if SWIFT_ENABLE_REFLECTION
4007-
40084008
@_silgen_name("swift_keyPath_copySymbolName")
40094009
fileprivate func keyPath_copySymbolName(
40104010
_: UnsafeRawPointer

0 commit comments

Comments
 (0)