| Index: pkg/dev_compiler/lib/src/compiler/module_builder.dart
|
| diff --git a/pkg/dev_compiler/lib/src/compiler/module_builder.dart b/pkg/dev_compiler/lib/src/compiler/module_builder.dart
|
| index 4079c4122967afbdf17cfa069d9cc363c3ceba22..0fd990c743b4111ede03e4f0e5614e85ea9bd811 100644
|
| --- a/pkg/dev_compiler/lib/src/compiler/module_builder.dart
|
| +++ b/pkg/dev_compiler/lib/src/compiler/module_builder.dart
|
| @@ -79,8 +79,8 @@ void addModuleFormatOptions(ArgParser argParser, {bool allowMultiple: false}) {
|
| /// structure as possible with the original. The transformation is a shallow one
|
| /// that affects the top-level module items, especially [ImportDeclaration]s and
|
| /// [ExportDeclaration]s.
|
| -Program transformModuleFormat(
|
| - ModuleFormat format, Program module, {bool singleOutFile: false}) {
|
| +Program transformModuleFormat(ModuleFormat format, Program module,
|
| + {bool singleOutFile: false}) {
|
| switch (format) {
|
| case ModuleFormat.legacy:
|
| // Legacy format always generates output compatible with single file mode.
|
| @@ -142,7 +142,6 @@ abstract class _ModuleBuilder {
|
| /// Generates modules for with our legacy `dart_library.js` loading mechanism.
|
| // TODO(jmesserly): remove this and replace with something that interoperates.
|
| class LegacyModuleBuilder extends _ModuleBuilder {
|
| -
|
| Program build(Program module) {
|
| // Collect imports/exports/statements.
|
| visitProgram(module);
|
|
|