[SR-10293] Fix-it for var
parameter doesn't delete enough whitespace
#52693
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: 91a0b3c7be8151ac2b93c6b92c8bb188
Issue Description:
Consider following example:
It produces correct diagnostic `error: 'var' as a parameter attribute is not allowed` with a fix-it to remove `var` but it doesn't remove enough trailing whilespace, so the result of applying fix-it looking like this:
The text was updated successfully, but these errors were encountered: