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

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

Issue 983553002: Allow changing a file from a part to a library. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/devc.dart ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/html_codegen.dart
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart
index 4f17486a1e799a992e7748e5afefd1e483462b64..a12ddbdd2b43b6da09b7ec57a8f29ab2b159510f 100644
--- a/lib/src/codegen/html_codegen.dart
+++ b/lib/src/codegen/html_codegen.dart
@@ -43,8 +43,8 @@ String generateEntryHtml(HtmlSourceNode root, CompilerOptions options) {
var libraries = [];
visitInPostOrder(root, (n) {
- if (n is LibrarySourceNode) libraries.add(n);
- });
+ if (n is DartSourceNode) libraries.add(n);
+ }, includeParts: false);
String mainLibraryName;
var fragment = _loadRuntimeScripts();
« no previous file with comments | « lib/devc.dart ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698