[SR-13759] Suggest fix-it for missing await in async call. #56156
Labels
compiler
The Swift compiler in itself
concurrency
Feature: umbrella label for concurrency language features
improvement
Additional Detail from JIRA
md5: d3481497d46d8a0fd4b34b5325bd01f0
Issue Description:
The following code,
results in only the diagnostic,
It would be good if we offered a fix-it to add 'await'. We should also ensure that this fix-it is not offered if the same mistake is made inside of a synchronous function (a different error is thrown in that case anyway).
The text was updated successfully, but these errors were encountered: