Skip to content

[Concurrency] Adopt typed throws in Task creation APIs#84802

Merged
ktoso merged 3 commits intoswiftlang:mainfrom
ktoso:wip-task-init-typed-throws
Jan 13, 2026
Merged

[Concurrency] Adopt typed throws in Task creation APIs#84802
ktoso merged 3 commits intoswiftlang:mainfrom
ktoso:wip-task-init-typed-throws

Conversation

@ktoso
Copy link
Contributor

@ktoso ktoso commented Oct 10, 2025

Pending SE evolution: swiftlang/swift-evolution#2990

This makes Task.init and friends adopt typed throws, and also drops discardable result from the throwing APIs

@ktoso ktoso added swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review concurrency Feature: umbrella label for concurrency language features labels Oct 10, 2025
@ktoso
Copy link
Contributor Author

ktoso commented Oct 10, 2025

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Oct 10, 2025

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Oct 10, 2025

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Nov 14, 2025

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Jan 10, 2026

@swift-ci please smoke test

@ktoso ktoso removed the swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review label Jan 12, 2026
@ktoso ktoso force-pushed the wip-task-init-typed-throws branch from 4709e23 to d9630b7 Compare January 13, 2026 00:56
@ktoso ktoso force-pushed the wip-task-init-typed-throws branch from d9630b7 to 3d65d8c Compare January 13, 2026 01:48
@ktoso
Copy link
Contributor Author

ktoso commented Jan 13, 2026

@swift-ci please smoke test

@ktoso
Copy link
Contributor Author

ktoso commented Jan 13, 2026

@swift-ci please smoke test macOS

@ktoso ktoso merged commit dc2d6fb into swiftlang:main Jan 13, 2026
3 checks passed
@ktoso ktoso deleted the wip-task-init-typed-throws branch January 13, 2026 12:37
owenv added a commit that referenced this pull request Jan 15, 2026
xedin added a commit to xedin/swift that referenced this pull request Jan 30, 2026
xedin added a commit to xedin/swift that referenced this pull request Feb 10, 2026
Azoy pushed a commit to Azoy/swift that referenced this pull request Feb 13, 2026
aeu pushed a commit to aeu/swift that referenced this pull request Feb 23, 2026
blevine1 pushed a commit to blevine1/swift that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

concurrency Feature: umbrella label for concurrency language features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants