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

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

Issue 243793005: Don't require Transformer methods to return Futures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 8 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/transformer/declaring_bad.dart ('k') | pkg/barback/test/transformer/emit_nothing.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/transformer/declaring_rewrite.dart
diff --git a/pkg/barback/test/transformer/declaring_rewrite.dart b/pkg/barback/test/transformer/declaring_rewrite.dart
index 3dd3f644b67dd6f4ce205c72237e6380d102a7aa..8ab8a15fefde00d93aef3bdcb5c51e92d500e308 100644
--- a/pkg/barback/test/transformer/declaring_rewrite.dart
+++ b/pkg/barback/test/transformer/declaring_rewrite.dart
@@ -4,8 +4,6 @@
library barback.test.transformer.declaring_rewrite;
-import 'dart:async';
-
import 'package:barback/barback.dart';
import 'rewrite.dart';
@@ -16,7 +14,7 @@ class DeclaringRewriteTransformer extends RewriteTransformer
DeclaringRewriteTransformer(String from, String to)
: super(from, to);
- Future declareOutputs(DeclaringTransform transform) {
+ void declareOutputs(DeclaringTransform transform) {
if (consumePrimary) transform.consumePrimary();
for (var extension in to.split(" ")) {
var id = transform.primaryId.changeExtension(".$extension");
« no previous file with comments | « pkg/barback/test/transformer/declaring_bad.dart ('k') | pkg/barback/test/transformer/emit_nothing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698