Unable to create Task<T, Error>
with a known Error
type
#74556
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
I'd have expected that with typed-throws it would be possible to create a
Task<T, E>
with a knownE
, but none of theTask
constructors have typed-throws definitions.Reproduction
Expected behavior
Code compiles
Environment
swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-6.0.0.3.300 clang-1600.0.20.10)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: