[SR-14720] Mismatched @escaping for closure parameter produces inaccurate diagnostic #57070
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
Additional Detail from JIRA
md5: 0bea57816da6c676b14297bdbe7dcf73
Issue Description:
The following program produces the
following inaccurate diagnostic:
The suggested replacement only worsens the problem.
I would expect to see a message like:
which is the one produced by
The text was updated successfully, but these errors were encountered: