Skip to content

Incrementally reused warnings have old locations #524

@sim642

Description

@sim642

@karoliineh discovered that warnings during incremental loading can remain at their old locations. For example, when simply adding/removing empty lines. That causes no AST changes, so no nodes change and their warnings are reused, but locations do change.

The problem is that warnings (messages) have their location (or multiple if grouped!), not a node.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions