Skip to content

Salsa formatting gives overlapping edits in this case #2435

@alexdima

Description

@alexdima

Testing #2218

function a1() {
        try {
                        throw new Error('x');         } catch(x) {}
}

Right click > Format

Observe in the developer console. This happens when the passed in edits are invalid or overlap (touch):
image

Metadata

Metadata

Assignees

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