e25e532900
Additionally, add some missing compile-time errors and adjust error text expectations. Closes https://github.com/dart-lang/sdk/issues/49327 TEST=Covered by existing tests. Change-Id: Ie62211650633beb26abdf735e0dd36c4de4e24c4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/266740 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Stephen Adams <sra@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Slava Egorov <vegorov@google.com>