[SR-3867] Improve diagnostics for labeled block without 'do' #46452
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
improvement
parser
Area → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: 5e609ca6f870dca93d5db585edeaf041
Issue Description:
Currently, this results:
It would be great if it's diagnosed as a
do
statement with missingdo
keyword:The text was updated successfully, but these errors were encountered: