| Index: tests/compiler/dart2js/mock_compiler.dart
|
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
|
| index 63edc431b0af3692b3b9b04c4cae0f82d25796d1..2313a19943c35991f79b51c5c4145bca8520496b 100644
|
| --- a/tests/compiler/dart2js/mock_compiler.dart
|
| +++ b/tests/compiler/dart2js/mock_compiler.dart
|
| @@ -221,7 +221,7 @@ class MockCompiler extends Compiler {
|
| this.resolution,
|
| element,
|
| new ResolutionRegistry(
|
| - this.backend, new CollectingTreeElements(element)),
|
| + this.backend.target, new CollectingTreeElements(element)),
|
| scope:
|
| new MockTypeVariablesScope(element.enclosingElement.buildScope()));
|
| if (visitor.scope is LibraryScope ||
|
| @@ -239,7 +239,7 @@ class MockCompiler extends Compiler {
|
| this.resolution,
|
| mockElement,
|
| new ResolutionRegistry(
|
| - this.backend, new CollectingTreeElements(mockElement)),
|
| + this.backend.target, new CollectingTreeElements(mockElement)),
|
| scope: mockElement.enclosingElement.buildScope());
|
| visitor.scope = new MethodScope(visitor.scope, mockElement);
|
| return visitor;
|
|
|