Skip to content

Commit 4098aa0

Browse files
committed
KeyPaths: Support instantiating property descriptors with captured arguments.
1 parent fceea87 commit 4098aa0

File tree

4 files changed

+387
-120
lines changed

4 files changed

+387
-120
lines changed

stdlib/public/SwiftShims/KeyPath.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ static const __swift_uint32_t _SwiftKeyPathComponentHeader_ComputedIDByVTableOff
9191
= 0x00100000U;
9292
static const __swift_uint32_t _SwiftKeyPathComponentHeader_ComputedHasArgumentsFlag
9393
= 0x00080000U;
94+
// Not ABI, used internally by key path runtime implementation
95+
static const __swift_uint32_t _SwiftKeyPathComponentHeader_ComputedInstantiatedFromExternalWithArgumentsFlag
96+
= 0x00000010U;
9497
static const __swift_uint32_t _SwiftKeyPathComponentHeader_ComputedIDResolutionMask
9598
= 0x0000000FU;
9699
static const __swift_uint32_t _SwiftKeyPathComponentHeader_ComputedIDResolved

0 commit comments

Comments
 (0)