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

Unified Diff: tests/compiler/dart2js/kernel/constructors_test.dart

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: 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
Index: tests/compiler/dart2js/kernel/constructors_test.dart
diff --git a/tests/compiler/dart2js/kernel/constructors_test.dart b/tests/compiler/dart2js/kernel/constructors_test.dart
index 2664910f2e276c899d1309e76201aede61d0380d..bc5b8cc28fa0868bb3f0b2f22277ec6cf4b3ee2a 100644
--- a/tests/compiler/dart2js/kernel/constructors_test.dart
+++ b/tests/compiler/dart2js/kernel/constructors_test.dart
@@ -70,6 +70,7 @@ main() => new Foo();
}
defaultConstructorFor(String className) => (Compiler compiler) {
- ClassElement clazz = compiler.mainApp.find(className);
+ LibraryElement mainApp = compiler.mainApp;
+ ClassElement clazz = mainApp.find(className);
return clazz.lookupDefaultConstructor();
};

Powered by Google App Engine
This is Rietveld 408576698