Skip to content

Fix source range for property or attribute expression within binary expression #1578

@eric-milles

Description

@eric-milles

Consider the following:

@TypeChecked test(foo) {
  foo.bar  = null
}

The range of "foo.bar" extends to include the trailing whitespace. This can be seen when an error is marked in the editor.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions