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

Unified Diff: pkg/barback/test/transformer/lazy_rewrite.dart

Issue 196273003: Move isPrimary computation from PhaseInput into TransformNode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 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 | « pkg/barback/test/package_graph/lazy_transformer_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/transformer/lazy_rewrite.dart
diff --git a/pkg/barback/test/transformer/lazy_rewrite.dart b/pkg/barback/test/transformer/lazy_rewrite.dart
index 61c00e595efec4bcc000088fb8331c50618fd975..f694a0e77da6fd95176075593ed1be8179661b34 100644
--- a/pkg/barback/test/transformer/lazy_rewrite.dart
+++ b/pkg/barback/test/transformer/lazy_rewrite.dart
@@ -18,6 +18,7 @@ class LazyRewriteTransformer extends RewriteTransformer
: super(from, to);
Future declareOutputs(DeclaringTransform transform) {
+ if (consumePrimary) transform.consumePrimary();
for (var extension in to.split(" ")) {
var id = transform.primaryInput.id.changeExtension(".$extension");
transform.declareOutput(id);
« no previous file with comments | « pkg/barback/test/package_graph/lazy_transformer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698