Index: tests/compiler/dart2js/kernel/closed_world2_test.dart |
diff --git a/tests/compiler/dart2js/kernel/closed_world2_test.dart b/tests/compiler/dart2js/kernel/closed_world2_test.dart |
index 7ea0ad9f6a683b126726910e258ef29f926ad528..482f354fd2c52015258b32367f5c593cdcb0088d 100644 |
--- a/tests/compiler/dart2js/kernel/closed_world2_test.dart |
+++ b/tests/compiler/dart2js/kernel/closed_world2_test.dart |
@@ -148,10 +148,12 @@ Future<ResultKind> mainInternal(List<String> args, |
checkBackendUsage(backendUsage1, backendUsage2, strategy); |
checkResolutionEnqueuers(backendUsage1, backendUsage2, enqueuer1, enqueuer2, |
- elementEquivalence: equivalence.entityEquivalence, |
+ 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); |