1cc5d6927a
We always want to convert DartType(s) to their String presentations using getDisplayString(), never using toString(). Also it is OK to do some processing during error reporting, it should be rare operation. R=brianwilkerson@google.com Change-Id: I57b80cdd7e91de2eb0d06aa84e15ffc0f577090b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127960 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>