Index: tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
index b2ef74bc896bba64f78aaa8a28ceadbb0f602217..49b2add192f05bedabf92b035af5ee95dca7e23a 100644 |
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart |
@@ -143,10 +143,12 @@ Future<ResultKind> mainInternal(List<String> args, |
checkResolutionEnqueuers(closedWorld1.backendUsage, closedWorld2.backendUsage, |
compiler1.enqueuer.resolution, compiler2.enqueuer.resolution, |
- 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, |
@@ -160,10 +162,12 @@ Future<ResultKind> mainInternal(List<String> args, |
checkCodegenEnqueuers(compiler1.enqueuer.codegenEnqueuerForTesting, |
compiler2.enqueuer.codegenEnqueuerForTesting, |
- 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); |
collector1.outputMap |
.forEach((OutputType outputType, Map<String, BufferedOutputSink> map1) { |