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

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

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. 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
« no previous file with comments | « tests/compiler/dart2js/type_substitution_test.dart ('k') | tests/compiler/dart2js/unparser2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_test_helper.dart
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart
index 175341f53cee6c0c68bfd453c5c3c22b7d58dd71..8250f02d89eebb34193f4d1ce63bd628bbd09c2e 100644
--- a/tests/compiler/dart2js/type_test_helper.dart
+++ b/tests/compiler/dart2js/type_test_helper.dart
@@ -93,7 +93,7 @@ class TypeEnvironment {
Element getElement(String name) {
LibraryElement mainApp =
compiler.frontendStrategy.elementEnvironment.mainLibrary;
- var element = mainApp.find(name);
+ dynamic element = mainApp.find(name);
Expect.isNotNull(element);
if (element.isClass) {
element.ensureResolved(compiler.resolution);
@@ -106,7 +106,7 @@ class TypeEnvironment {
ClassElement getClass(String name) => getElement(name);
ResolutionDartType getElementType(String name) {
- var element = getElement(name);
+ dynamic element = getElement(name);
return element.computeType(compiler.resolution);
}
« no previous file with comments | « tests/compiler/dart2js/type_substitution_test.dart ('k') | tests/compiler/dart2js/unparser2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698