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

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

Issue 1146813009: Introduce WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 5 years, 7 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
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_checker_test.dart
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
index 939640d559660c0bfacbdec70eb749d274ece8a8..f6be4cf6c099034414136e5946b768cb575203e7 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -2197,12 +2197,14 @@ analyzeTopLevel(String text, [expectedWarnings]) {
if (!e.isSynthesized) {
element = e;
node = element.parseNode(compiler);
- mapping = compiler.resolver.resolve(element);
+ compiler.resolver.resolve(element);
+ mapping = element.treeElements;
}
});
} else {
node = element.parseNode(compiler);
- mapping = compiler.resolver.resolve(element);
+ compiler.resolver.resolve(element);
+ mapping = element.treeElements;
}
}
// Type check last class declaration or member.
« no previous file with comments | « tests/compiler/dart2js/exit_code_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698