c9e29fa85f
This propagates information about reported error to the caller of a shared type analysis. This is used to properly turn errors into invalid expressions/patterns, as is normally done in the CFE in face of errors. Change-Id: Ibb8adedccb8314fabfe18ecaa3559e32ad7267ca Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286145 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>