48d8c00410
This rarely comes into play because most static error markers don't have an explicit line number. (This is by design so that shifts don't cause diff churn.) But in some cases, the line number is written. When that happens, the number may be wrong because previous added or removed errors can shift the output line from where the original error was reported. Compensate for that. Fix #37990. Change-Id: Ie306465c11d3b6a1de5ed158ad63167b4a5d4797 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114594 Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>