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

Unified Diff: tests/compiler/dart2js/resolution_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/resolution_test.dart
diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart
index a0afddfd3eba0676b53fd481273b6e3d921892dd..d3bfc9a4ed331bbc89b4e35f0ab67bc965cf1b13 100644
--- a/tests/compiler/dart2js/resolution_test.dart
+++ b/tests/compiler/dart2js/resolution_test.dart
@@ -94,7 +94,7 @@ main() {
void test(String code, void check(CompilerImpl compiler)) {
Uri uri = new Uri(scheme: 'source');
- var compiler = compilerFor(code, uri);
+ dynamic compiler = compilerFor(code, uri);
asyncTest(() => compiler.run(uri).then((_) {
check(compiler);
}));

Powered by Google App Engine
This is Rietveld 408576698