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

Unified Diff: tests/compiler/dart2js/simple_inferrer_postfix_prefix_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/simple_inferrer_postfix_prefix_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart b/tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart
index 27ed1a4e6384d7d326632eabee3171066bed2399..a0f0c5a85c49dc856c983814f4cd9d75e2d7e9f2 100644
--- a/tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart
@@ -71,7 +71,7 @@ void main() {
var commonMasks = closedWorld.commonMasks;
checkReturnInClass(String className, String methodName, type) {
- var cls = findElement(compiler, className);
+ dynamic cls = findElement(compiler, className);
var element = cls.lookupLocalMember(methodName);
Expect.equals(
type,

Powered by Google App Engine
This is Rietveld 408576698