File tree 3 files changed +3
-3
lines changed
stdlib/public/Concurrency
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2311,7 +2311,7 @@ static void swift_task_switchImpl(SWIFT_ASYNC_CONTEXT AsyncContext *resumeContex
2311
2311
currentTaskExecutor.isDefined () ? " " : " (undefined)" ,
2312
2312
newTaskExecutor.getIdentity (),
2313
2313
newTaskExecutor.isDefined () ? " " : " (undefined)" ,
2314
- trackingInfo->isSynchronousStart () ? " [synchronous start]" : " [NOT SYNC START] " );
2314
+ trackingInfo->isSynchronousStart () ? " [synchronous start]" : " " );
2315
2315
2316
2316
// If the current executor is compatible with running the new executor,
2317
2317
// we can just immediately continue running with the resume function
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ extension Task where Failure == ${FAILURE_TYPE} {
52
52
/// - priority: The priority of the task.
53
53
/// Pass `nil` to use the ``Task/basePriority`` of the current task (if there is one).
54
54
/// - operation: the operation to be run immediately upon entering the task.
55
- /// - Returns:
55
+ /// - Returns: A reference to the unstructured task which may be awaited on.
56
56
@available(SwiftStdlib 6.2, *)
57
57
@discardableResult
58
58
public static func _startSynchronously(
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-build-swift -Xfrontend -disable-availability-checking %s -swift-version 6 -o %t/a.out
2
+ // RUN: %target-build-swift -Xfrontend -disable-availability-checking %s %import-libdispatch -swift-version 6 -o %t/a.out
3
3
// RUN: %target-codesign %t/a.out
4
4
// RUN: %target-run %t/a.out | %FileCheck %s --dump-input=always
5
5
You can’t perform that action at this time.
0 commit comments