0dd4a95b3c
The line and column offsets for the context messages were being computed based on line information for the file in which the diagnostic was being reported, which can be different than the file pointed to by the context message. This ensures that we use the right line info. Fixes https://github.com/dart-lang/sdk/issues/60750 Change-Id: I6dbc95bde5aeb1abc70d90767dc59082982a5a96 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429380 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>