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

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

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: Updated cf. comments Created 3 years, 8 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/mock_compiler.dart ('k') | tests/compiler/dart2js/related_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/override_inheritance_test.dart
diff --git a/tests/compiler/dart2js/override_inheritance_test.dart b/tests/compiler/dart2js/override_inheritance_test.dart
index 3f8bf74afa1d9675f7314a452bd845b2f85814a9..d1bf4f0c34177fb7de6b09728084c46a86ee444f 100644
--- a/tests/compiler/dart2js/override_inheritance_test.dart
+++ b/tests/compiler/dart2js/override_inheritance_test.dart
@@ -27,7 +27,8 @@ Future check(String source, {errors, warnings, hints, infos}) {
return MockCompiler.create((MockCompiler compiler) {
compiler.diagnosticHandler = createHandler(compiler, source);
compiler.parseScript(source);
- var cls = compiler.mainApp.find('Class');
+ var mainApp = compiler.mainApp;
+ var cls = mainApp.find('Class');
cls.ensureResolved(compiler.resolution);
MembersCreator.computeAllClassMembers(compiler.resolution, cls);
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/related_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698