51c059c43b
The previous implementation was using LocalScope that does not do filtering out instance members as required by the specification. I also added a few tests, some of which demonstrate what was worked, what was broken, and what is still broken. Work toward fixing https://github.com/dart-lang/sdk/issues/62622 Change-Id: Ib5fa23b97d1e6938eb00a2d2b6659eecae86b3b0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/479380 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>