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

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

Issue 223553008: Only pass an AssetId to isPrimary and declareOutputs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes 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
Index: pkg/barback/test/transformer/bad.dart
diff --git a/pkg/barback/test/transformer/bad.dart b/pkg/barback/test/transformer/bad.dart
index 49046ca5b45aed5e05dda27f5de0121ecd6aac9a..11b61cc0d8bd0f334251a955e5af35183bb4f706 100644
--- a/pkg/barback/test/transformer/bad.dart
+++ b/pkg/barback/test/transformer/bad.dart
@@ -22,7 +22,7 @@ class BadTransformer extends MockTransformer {
BadTransformer(this.outputs);
- Future<bool> doIsPrimary(Asset asset) => new Future.value(true);
+ Future<bool> doIsPrimary(_) => new Future.value(true);
Bob Nystrom 2014/04/03 22:28:29 I'd prefer the full "AssetId id" here even though
nweiz 2014/04/03 23:03:50 Done.
Future doApply(Transform transform) {
return newFuture(() {

Powered by Google App Engine
This is Rietveld 408576698