mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When using shorthand syntax for optional binding, if the variable we are binding is accessed asynchronously, provide an insertion fixIt of the form: ' = await (identifier)'. Previously, we would suggest only adding the 'await' which resulted in an error since the identifier is required.