| Index: tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart b/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| index c0eeba9a28e5df8d2ce334ecfda957694e6c9a69..718574a080b9c5026964c91dd8f465e3b32cfb49 100644
|
| --- a/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart
|
| @@ -5,7 +5,6 @@
|
| // Test that constants depended on by other constants are correctly deferred.
|
|
|
| import 'package:async_helper/async_helper.dart';
|
| -import 'package:compiler/src/common.dart';
|
| import 'package:compiler/src/constants/values.dart';
|
| import 'package:compiler/src/compiler.dart';
|
| import 'package:expect/expect.dart';
|
| @@ -25,11 +24,11 @@ void main() {
|
| c.getDependencies().forEach(addConstantWithDependendencies);
|
| }
|
|
|
| - var codegenWorldBuilder = compiler.codegenWorldBuilder;
|
| + dynamic codegenWorldBuilder = compiler.codegenWorldBuilder;
|
| codegenWorldBuilder.compiledConstants
|
| .forEach(addConstantWithDependendencies);
|
| for (String stringValue in ["cA", "cB", "cC"]) {
|
| - ConstantValue constant = allConstants.firstWhere((constant) {
|
| + ConstantValue constant = allConstants.firstWhere((dynamic constant) {
|
| return constant.isString && constant.primitiveValue == stringValue;
|
| });
|
| Expect.notEquals(null, outputUnitForConstant(constant),
|
|
|