bb1e9f0b33
If a declaration is a duplicate we report an error on the declaration. Therefore reporting an error also on the use of the duplicate declaration is just noise. Change-Id: Ia62eb5056d80f5b766b14c9540085d6b0ee880a0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/438220 Reviewed-by: Erik Ernst <eernst@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>