Avatar
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
❤️ 1
2:45 AM
ちなTask.init は typedthrows対応が進行中です
2:46 AM
After a false start, @ktoso and I are back at it. We'd would like to make another attempt at adopting typed throws in the Task creation APIs and make it more difficult to ignore thrown errors accidentally. The spirit of the changes are identical to the previous proposal, but have been expanded to accommodate all the new Task APIs. Just to recap...
2:47 AM
The typed throws adoption is pretty much a no brainer, however in this pitch thread it’d be good to revisit the removal of @discardableResult on error throwing functions.
2:47 AM
Task.init の discardable result の再検討にも触れてる