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

Unified Diff: tests/compiler/dart2js/simple_inferrer_callers_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_callers_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_callers_test.dart b/tests/compiler/dart2js/simple_inferrer_callers_test.dart
index 6bf7e6afba2559ede6343b021eb385f014a054fd..985b0f154d8d733572439a3803430cdd184e8a3e 100644
--- a/tests/compiler/dart2js/simple_inferrer_callers_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_callers_test.dart
@@ -48,9 +48,9 @@ void main() {
compiler.globalInference.runGlobalTypeInference(
compiler.mainFunction, closedWorld, closedWorldRefiner);
var mainElement = findElement(compiler, 'main');
- var classA = findElement(compiler, 'A');
+ dynamic classA = findElement(compiler, 'A');
var fieldA = classA.lookupLocalMember('field');
- var classB = findElement(compiler, 'B');
+ dynamic classB = findElement(compiler, 'B');
var fieldB = classB.lookupLocalMember('field');
Expect.isTrue(inferrer.getCallersOf(fieldA).contains(mainElement));

Powered by Google App Engine
This is Rietveld 408576698