| Index: tests/compiler/dart2js/resolver_test.dart
|
| diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart
|
| index 859e170f60bc8a2ce1768d5b8000b7269c0e942d..7d122ed2641002b2a0972b372a6d21fcf967adf8 100644
|
| --- a/tests/compiler/dart2js/resolver_test.dart
|
| +++ b/tests/compiler/dart2js/resolver_test.dart
|
| @@ -225,7 +225,7 @@ Future testSuperCalls() {
|
| compiler.resolution,
|
| fooB,
|
| new ResolutionRegistry(
|
| - compiler.backend, new CollectingTreeElements(fooB)),
|
| + compiler.backend.target, new CollectingTreeElements(fooB)),
|
| scope: new MockTypeVariablesScope(classB.buildScope()));
|
| FunctionExpression node =
|
| (fooB as FunctionElementX).parseNode(compiler.parsingContext);
|
| @@ -274,7 +274,7 @@ Future testThis() {
|
| compiler.resolution,
|
| funElement,
|
| new ResolutionRegistry(
|
| - compiler.backend, new CollectingTreeElements(funElement)),
|
| + compiler.backend.target, new CollectingTreeElements(funElement)),
|
| scope: new MockTypeVariablesScope(fooElement.buildScope()));
|
| FunctionExpression function =
|
| (funElement as FunctionElementX).parseNode(compiler.parsingContext);
|
| @@ -302,7 +302,7 @@ Future testThis() {
|
| compiler.resolution,
|
| funElement,
|
| new ResolutionRegistry(
|
| - compiler.backend, new CollectingTreeElements(funElement)),
|
| + compiler.backend.target, new CollectingTreeElements(funElement)),
|
| scope: new MockTypeVariablesScope(fooElement.buildScope()));
|
| FunctionExpression function =
|
| (funElement as FunctionElementX).parseNode(compiler.parsingContext);
|
| @@ -621,7 +621,7 @@ Future testOneInterface() {
|
| compiler.resolution,
|
| null,
|
| new ResolutionRegistry(
|
| - compiler.backend, new CollectingTreeElements(null)));
|
| + compiler.backend.target, new CollectingTreeElements(null)));
|
| compiler.resolveStatement("Foo bar;");
|
|
|
| ClassElement fooElement = compiler.mainApp.find('Foo');
|
| @@ -739,7 +739,7 @@ Future resolveConstructor(String script, String statement, String className,
|
| compiler.resolution,
|
| element,
|
| new ResolutionRegistry(
|
| - compiler.backend, new CollectingTreeElements(element)),
|
| + compiler.backend.target, new CollectingTreeElements(element)),
|
| scope: classElement.buildScope());
|
| new InitializerResolver(visitor, element, tree).resolveInitializers();
|
| visitor.visit(tree.body);
|
|
|