Skip to content

Misleading 'remove this line' diagnostics #551

@cushon

Description

@cushon

Example: #548

If a suggested fix spans multiple lines and starts with a newline, the diagnostic includes "Did you mean to remove this line". It shouldn't suggest removing the line unless the entire fix is a deletion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions