56a86e599e
This adds support using experimental features in id testing in DDC and uses it to add tests for scopes in extensions, extension types and mixins. The tests show that the DartScopeBuilder and DartScopeBuilder2 differ on the scope on instance members in extensions and extension types for the synthetic #this variable. Change-Id: Iec0f3b938da567578b1245ada885370fb2a8b33f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335824 Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>