Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: tests/compiler/dart2js/resolver_test.dart

Issue 2721403006: Split NativeData (Closed)
Patch Set: Updated cf. comments. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/serialization/native_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698