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

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

Issue 1689013002: Use Uris for corelibOrder (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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/codegen/js_module_item_order.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/module_builder.dart
diff --git a/lib/src/codegen/module_builder.dart b/lib/src/codegen/module_builder.dart
index 22cc87126c6e11c52ec92b5892d413f0294bc2b5..e34efc87b445aa35290a41e2218b4d49777863cb 100644
--- a/lib/src/codegen/module_builder.dart
+++ b/lib/src/codegen/module_builder.dart
@@ -154,9 +154,9 @@ class ES6ModuleBuilder extends ModuleBuilder {
moduleStatements
.add(js.statement('#.# = #;', [exportsVar, exportName, name]));
});
- moduleStatements
- .add(new JS.ExportDeclaration(exportsVar, isDefault: true));
}
+ moduleStatements
+ .add(new JS.ExportDeclaration(exportsVar, isDefault: true));
// TODO(ochafik): What to do with jsModuleValue?
return new JS.Program(moduleStatements);
}
« no previous file with comments | « lib/src/codegen/js_module_item_order.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698