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

Unified Diff: tests/compiler/dart2js/kernel/closed_world_from_dill_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/kernel/closed_world_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart b/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
index 8e951de8e6a82171a3a48dd8b834197d8615dae5..5fe44d921ba9a0e911afaa9e9e3a07fc3a916d32 100644
--- a/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
@@ -143,10 +143,13 @@ Future<ResultKind> mainInternal(List<String> args,
equivalence.defaultStrategy);
checkResolutionEnqueuers(closedWorld1.backendUsage, closedWorld2.backendUsage,
- enqueuer1, enqueuer2, elementEquivalence: equivalence.entityEquivalence,
+ enqueuer1, enqueuer2,
+ elementEquivalence: (a, b) => equivalence.entityEquivalence(a, b),
typeEquivalence: (ResolutionDartType a, DartType b) {
- return equivalence.typeEquivalence(unalias(a), b);
- }, elementFilter: elementFilter, verbose: arguments.verbose);
+ return equivalence.typeEquivalence(unalias(a), b);
+ },
+ elementFilter: elementFilter,
+ verbose: arguments.verbose);
checkClosedWorlds(closedWorld1, closedWorld2,
strategy: equivalence.defaultStrategy, verbose: arguments.verbose);

Powered by Google App Engine
This is Rietveld 408576698