swift-evolution
swift-evolution copied to clipboard
This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
This is based off of https://github.com/DougGregor/swift-evolution/tree/structured-concurrency because the `async let` proposal depends on and has links to the main structured concurrency proposal.
Is this code example missing the `try await` keywords when chopping veggies? In the previous example, inside the loop that would not produce any meaningful concurrency, line 190 is written:...
Since both the `chopVegetables()` and `preheatOven(temperature:)` async functions can throw, does this code example need to prepend a `try` keyword before awaiting on them?
The `makeDinnerTaskGroup()` code example has a couple of potential issues: 1. The `withTaskGroup()` function doesn't seem to be defined or mentioned anywhere else in this proposal. Do you mean `Task.withGroup`?...
The paragraph on line 181 starts with the following sentence. > Bringing it back to our example, note that the `chopVegetables()` function might throw an error if, say, there is...
- Some code fragments did not use the new `providing...` syntax - There were some smaller typos - Text in 'Member attributes macros' did not match the new macro invocation...
Is this what is meant here?