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

Unified Diff: lib/src/compiler/module_builder.dart

Issue 2016483002: Enable strong mode in DDC, fix all warnings/errors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « lib/src/compiler/js_metalet.dart ('k') | lib/src/compiler/nullable_type_inference.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/module_builder.dart
diff --git a/lib/src/compiler/module_builder.dart b/lib/src/compiler/module_builder.dart
index f87d0d3994ffba4c9c41016f57b7296a213b79ac..6e72217f6d65df982eb17ce7384ef565e94f6e54 100644
--- a/lib/src/compiler/module_builder.dart
+++ b/lib/src/compiler/module_builder.dart
@@ -108,7 +108,7 @@ class LegacyModuleBuilder extends _ModuleBuilder {
/// Generates node modules.
class NodeModuleBuilder extends _ModuleBuilder {
Program build(Program module) {
- var importStatements = [];
+ var importStatements = <Statement>[];
// Collect imports/exports/statements.
visitProgram(module);
« no previous file with comments | « lib/src/compiler/js_metalet.dart ('k') | lib/src/compiler/nullable_type_inference.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698