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

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

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 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/override_inheritance_test.dart
diff --git a/tests/compiler/dart2js/override_inheritance_test.dart b/tests/compiler/dart2js/override_inheritance_test.dart
index d1bf4f0c34177fb7de6b09728084c46a86ee444f..4777f47c6d97c49d2de533a574fd0e2f085f074d 100644
--- a/tests/compiler/dart2js/override_inheritance_test.dart
+++ b/tests/compiler/dart2js/override_inheritance_test.dart
@@ -27,7 +27,7 @@ Future check(String source, {errors, warnings, hints, infos}) {
return MockCompiler.create((MockCompiler compiler) {
compiler.diagnosticHandler = createHandler(compiler, source);
compiler.parseScript(source);
- var mainApp = compiler.mainApp;
+ dynamic mainApp = compiler.mainApp;
var cls = mainApp.find('Class');
cls.ensureResolved(compiler.resolution);
MembersCreator.computeAllClassMembers(compiler.resolution, cls);

Powered by Google App Engine
This is Rietveld 408576698