Skip to content

Commit a0693c4

Browse files
authored
Merge pull request #40675 from xedin/fix-invalid-base-for-accessor-ref
[Distributed] Runtime: Fix retrieval of async pointer from incorrect …
2 parents 27ec10e + 302b241 commit a0693c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,8 @@ void ::swift_distributed_execute_target(
17291729
return;
17301730

17311731
auto *asyncFnPtr = reinterpret_cast<
1732-
const AsyncFunctionPointer<DistributedAccessorSignature> *>(accessor);
1732+
const AsyncFunctionPointer<DistributedAccessorSignature> *>(
1733+
accessor->Function.get());
17331734

17341735
DistributedAccessorSignature::FunctionType *accessorEntry =
17351736
asyncFnPtr->Function.get();

0 commit comments

Comments
 (0)