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

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

Issue 2470053002: Fix summary path for tests (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | pkg/dev_compiler/test/worker/worker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | pkg/dev_compiler/test/worker/worker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698