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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart

Issue 328033002: Move include/exclude calculations to the TransformerId class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 6 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 | « sdk/lib/_internal/pub/lib/src/barback/foreign_transformer.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
index 0f9016d8255f0983a88aa4371afe0f4a754a5bfa..64845d4de129ed604d00d6f329d28153cb9d71f0 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart
@@ -309,8 +309,7 @@ class _TransformerLoader {
new BarbackSettings(id.configuration, _environment.mode));
// Handle any exclusions.
- transformer = ExcludingTransformer.wrap(transformer,
- id.includes, id.excludes);
+ transformer = ExcludingTransformer.wrap(transformer, id);
} on FormatException catch (error, stackTrace) {
fail(error.message, error, stackTrace);
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/barback/foreign_transformer.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698