Skip to content

Conversation

@sim642
Copy link
Member

@sim642 sim642 commented Jan 14, 2022

Closes #524.
This is currently opened on top of #525 since that already adapts dead branch warnings to nodes instead of locations.

By using nodes for locations, warnings in syntactically unchanged but moved functions should move accordingly.

TODO

  • Use incremental locations for messages.
  • Check that warning locations move if empty lines inserted/removed, etc.

@sim642 sim642 added the bug label Jan 14, 2022
@sim642 sim642 marked this pull request as ready for review January 14, 2022 13:22
@sim642 sim642 requested a review from karoliineh January 14, 2022 13:40
Copy link
Member

@karoliineh karoliineh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

Warning locations do move when empty lines are inserted or removed (with "load" set to true in "incremental" in the conf).

@sim642 sim642 added the pr-dependency Depends or builds on another PR, which should be merged before label Jan 16, 2022
@sim642 sim642 linked an issue Jan 17, 2022 that may be closed by this pull request
Base automatically changed from dead-branch-incremental to interactive January 19, 2022 12:31
@sim642 sim642 removed the pr-dependency Depends or builds on another PR, which should be merged before label Jan 19, 2022
@sim642 sim642 requested a review from jerhard January 24, 2022 16:54
@sim642 sim642 merged commit 6350753 into interactive Jan 28, 2022
@sim642 sim642 deleted the messages-node branch January 28, 2022 11:04
@sim642 sim642 mentioned this pull request Feb 11, 2022
5 tasks
@sim642 sim642 added this to the v2.0.0 milestone Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incrementally reused warnings have old locations

3 participants