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

Unified Diff: tests/compiler/dart2js/deferred_follow_constant_dependencies_test.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. 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/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),

Powered by Google App Engine
This is Rietveld 408576698